Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001121/0.001121, allocations: 109 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.814/0.814, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.59 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5745/0.7347, allocations: 161.5 MB / 0.8181 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.7377, allocations: 1.703 MB / 0.8197 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.7382, allocations: 19.78 kB / 0.8197 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.7388, allocations: 157.1 kB / 0.8199 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.7403, allocations: 0.535 MB / 0.8204 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.7415, allocations: 427.6 kB / 0.8208 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008709/0.7424, allocations: 0.5725 MB / 0.8214 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.7428, allocations: 177.5 kB / 0.8215 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.7436, allocations: 326.9 kB / 0.8219 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.7439, allocations: 155.6 kB / 0.822 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.7439, allocations: 12.72 kB / 0.822 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7452, allocations: 0.6963 MB / 0.8227 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.7453, allocations: 79.53 kB / 0.8228 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.7455, allocations: 117.8 kB / 0.8229 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.7464, allocations: 0.5013 MB / 0.8234 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7464, allocations: 0 / 0.8234 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7464, allocations: 0 / 0.8234 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7464, allocations: 0 / 0.8234 GB, free: 6.668 MB / 0.5919 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.0008762/0.7473, allocations: 0.6011 MB / 0.824 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7474, allocations: 10.31 kB / 0.824 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.7477, allocations: 52.7 kB / 0.824 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.7482, allocations: 303.5 kB / 0.8243 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.7482, allocations: 18.86 kB / 0.8243 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.7483, allocations: 14.62 kB / 0.8243 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.7486, allocations: 192 kB / 0.8245 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7487, allocations: 0 / 0.8245 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.7487, allocations: 7 kB / 0.8245 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7487, allocations: 2.781 kB / 0.8245 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.749, allocations: 130.6 kB / 0.8247 GB, free: 5.586 MB / 0.5919 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.001038/0.75, allocations: 0.7838 MB / 0.8254 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.7503, allocations: 86.47 kB / 0.8255 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.7505, allocations: 81.03 kB / 0.8256 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.7507, allocations: 188.4 kB / 0.8258 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.7508, allocations: 30.56 kB / 0.8258 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.7508, allocations: 0 / 0.8258 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007057/0.7515, allocations: 227.5 kB / 0.826 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.7515, allocations: 54.41 kB / 0.8261 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.7518, allocations: 270.9 kB / 0.8263 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.7518, allocations: 29.7 kB / 0.8263 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.7519, allocations: 144.3 kB / 0.8265 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.752, allocations: 44.86 kB / 0.8265 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.752, allocations: 27.81 kB / 0.8266 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7522, allocations: 335.7 kB / 0.8269 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.7523, allocations: 43.58 kB / 0.8269 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.7525, allocations: 92.33 kB / 0.827 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.7527, allocations: 121.5 kB / 0.8271 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7527, allocations: 0 / 0.8271 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003436/0.7531, allocations: 157.2 kB / 0.8273 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7531, allocations: 9.094 kB / 0.8273 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7531, allocations: 10.59 kB / 0.8273 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7531, allocations: 2.656 kB / 0.8273 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.7533, allocations: 22.86 kB / 0.8273 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7533, allocations: 2.094 kB / 0.8273 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.7535, allocations: 23.69 kB / 0.8273 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.7535, allocations: 8.891 kB / 0.8273 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001875/0.7537, allocations: 147.4 kB / 0.8275 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001518/0.7539, allocations: 90.23 kB / 0.8276 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002272/0.7541, allocations: 121.7 kB / 0.8277 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.7541, allocations: 192 / 0.8277 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000313/0.7544, allocations: 161.1 kB / 0.8278 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.7544, allocations: 9.344 kB / 0.8279 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.7545, allocations: 3.984 kB / 0.8279 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.7545, allocations: 6.438 kB / 0.8279 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7546, allocations: 19.39 kB / 0.8279 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.7546, allocations: 3.453 kB / 0.8279 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.7548, allocations: 16.19 kB / 0.8279 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.7548, allocations: 8.438 kB / 0.8279 GB, free: 2.895 MB / 0.5919 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.0001103/0.7549, allocations: 193.9 kB / 0.8281 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.755, allocations: 21.92 kB / 0.8281 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.7553, allocations: 159.7 kB / 0.8283 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7553, allocations: 0 / 0.8283 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7553, allocations: 2.094 kB / 0.8283 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7555, allocations: 122.9 kB / 0.8284 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.7555, allocations: 2.938 kB / 0.8284 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.7557, allocations: 13.11 kB / 0.8284 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.7557, allocations: 10.98 kB / 0.8284 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003493/0.7561, allocations: 210.9 kB / 0.8286 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003516/0.7564, allocations: 326 kB / 0.8289 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001261/0.7566, allocations: 49.52 kB / 0.829 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001716/0.7568, allocations: 198.4 kB / 0.8292 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of Backend: time 4.31e-07/0.7568, allocations: 3.938 kB / 0.8292 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.7579, allocations: 337.3 kB / 0.8295 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001089/0.759, allocations: 0.9138 MB / 0.8304 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of Templates: time 0.01142/0.7704, allocations: 5.901 MB / 0.8361 GB, free: 13.93 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)