Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 185.5 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 11.94 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 77.54 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4882/0.6707, allocations: 157.2 MB / 0.7135 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.6734, allocations: 1.696 MB / 0.7151 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.6736, allocations: 11.94 kB / 0.7151 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.6742, allocations: 127.2 kB / 0.7152 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.6753, allocations: 498 kB / 0.7157 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009701/0.6763, allocations: 379.5 kB / 0.7161 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008439/0.6772, allocations: 0.7604 MB / 0.7168 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.6775, allocations: 144.5 kB / 0.717 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.678, allocations: 294.8 kB / 0.7172 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.6783, allocations: 163.2 kB / 0.7174 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.6783, allocations: 4 kB / 0.7174 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.6795, allocations: 0.7716 MB / 0.7182 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.6796, allocations: 67.8 kB / 0.7182 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.6797, allocations: 141 kB / 0.7184 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.6804, allocations: 0.5062 MB / 0.7188 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6804, allocations: 7.938 kB / 0.7189 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6804, allocations: 0 / 0.7189 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6804, allocations: 4 kB / 0.7189 GB, free: 4.129 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007194/0.6812, allocations: 0.534 MB / 0.7194 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6812, allocations: 12.03 kB / 0.7194 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.6815, allocations: 51.67 kB / 0.7194 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.6819, allocations: 289.2 kB / 0.7197 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.6819, allocations: 23.98 kB / 0.7197 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.6819, allocations: 16 kB / 0.7198 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.6823, allocations: 188.2 kB / 0.7199 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6823, allocations: 0 / 0.7199 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.6823, allocations: 7.938 kB / 0.7199 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6824, allocations: 8 kB / 0.72 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.6827, allocations: 139.8 kB / 0.7201 GB, free: 2.77 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/0.6837, allocations: 0.7963 MB / 0.7209 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.6839, allocations: 90.59 kB / 0.7209 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.6841, allocations: 84.8 kB / 0.721 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.6844, allocations: 186.2 kB / 0.7212 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.6844, allocations: 42.5 kB / 0.7212 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.6844, allocations: 0 / 0.7212 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0006498/0.6851, allocations: 233.5 kB / 0.7215 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.6851, allocations: 51.41 kB / 0.7215 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.6854, allocations: 267 kB / 0.7218 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.6854, allocations: 33.8 kB / 0.7218 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.6855, allocations: 148 kB / 0.7219 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.6856, allocations: 35.48 kB / 0.722 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.6856, allocations: 13.72 kB / 0.722 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6857, allocations: 334.8 kB / 0.7223 GB, free: 316 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.6858, allocations: 39.97 kB / 0.7224 GB, free: 276 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.686, allocations: 101.1 kB / 0.7224 GB, free: 156 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6863, allocations: 135.3 kB / 0.7226 GB, free: 8 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6863, allocations: 0 / 0.7226 GB, free: 8 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003546/0.6866, allocations: 173.2 kB / 0.7227 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.6867, allocations: 119.5 kB / 0.7229 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6867, allocations: 0 / 0.7229 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.6867, allocations: 0 / 0.7229 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.6869, allocations: 23.98 kB / 0.7229 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6869, allocations: 4 kB / 0.7229 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.6871, allocations: 32.75 kB / 0.7229 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.6871, allocations: 4 kB / 0.7229 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.6871, allocations: 4 kB / 0.7229 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002901/0.6874, allocations: 119.8 kB / 0.723 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.6874, allocations: 0 / 0.723 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.6874, allocations: 4 kB / 0.723 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.6876, allocations: 19.98 kB / 0.7231 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.6876, allocations: 8.688 kB / 0.7231 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6877, allocations: 30.64 kB / 0.7231 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6878, allocations: 15.94 kB / 0.7231 GB, free: 15.44 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.6879, allocations: 217 kB / 0.7233 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.688, allocations: 23.72 kB / 0.7233 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.6884, allocations: 171.3 kB / 0.7235 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.6884, allocations: 4 kB / 0.7235 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6884, allocations: 3.938 kB / 0.7235 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6884, allocations: 0 / 0.7235 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.6893, allocations: 0.5979 MB / 0.7241 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6893, allocations: 4 kB / 0.7241 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6894, allocations: 28.2 kB / 0.7241 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6895, allocations: 11.94 kB / 0.7241 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6895, allocations: 3.938 kB / 0.7241 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6895, allocations: 7.984 kB / 0.7241 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6895, allocations: 0 / 0.7241 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.6899, allocations: 305.1 kB / 0.7244 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.69, allocations: 116.8 kB / 0.7246 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.69, allocations: 4 kB / 0.7246 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.6902, allocations: 15.98 kB / 0.7246 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.6903, allocations: 20.25 kB / 0.7246 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6903, allocations: 7.938 kB / 0.7246 GB, free: 13.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001781/0.6905, allocations: 197.9 kB / 0.7248 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6905, allocations: 4 kB / 0.7248 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004511/0.6909, allocations: 91.84 kB / 0.7249 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.6913, allocations: 179.1 kB / 0.725 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.6918, allocations: 175.8 kB / 0.7252 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6918, allocations: 0 / 0.7252 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.692, allocations: 68.41 kB / 0.7253 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.6929, allocations: 138.8 kB / 0.7254 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.6937, allocations: 0.5114 MB / 0.7259 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.694, allocations: 0.756 MB / 0.7267 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.6942, allocations: 74.2 kB / 0.7267 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.6942, allocations: 19.44 kB / 0.7267 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6943, allocations: 0 / 0.7267 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.008632/0.7029, allocations: 4.242 MB / 0.7309 GB, free: 7.348 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)