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.001476/0.001476, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001706/0.001706, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7499/0.7499, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.05 kB / 0.5819 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5138/0.6623, allocations: 161.5 MB / 0.818 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.6653, allocations: 1.702 MB / 0.8197 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.6656, allocations: 8.906 kB / 0.8197 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.6661, allocations: 159.3 kB / 0.8198 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.6675, allocations: 0.5059 MB / 0.8203 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.6686, allocations: 425.8 kB / 0.8207 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007148/0.6693, allocations: 0.5745 MB / 0.8213 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.6696, allocations: 177.4 kB / 0.8215 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.6702, allocations: 329.3 kB / 0.8218 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.6704, allocations: 146.4 kB / 0.8219 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.6705, allocations: 12.84 kB / 0.8219 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.6716, allocations: 0.691 MB / 0.8226 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6717, allocations: 90.31 kB / 0.8227 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.6718, allocations: 116.6 kB / 0.8228 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.6725, allocations: 0.5041 MB / 0.8233 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6726, allocations: 0 / 0.8233 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6726, allocations: 0 / 0.8233 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6726, allocations: 0 / 0.8233 GB, free: 6.793 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.0008038/0.6734, allocations: 0.578 MB / 0.8239 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6734, allocations: 10.84 kB / 0.8239 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.6738, allocations: 56.02 kB / 0.8239 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.6742, allocations: 311 kB / 0.8242 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6743, allocations: 13.73 kB / 0.8242 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.6743, allocations: 14.72 kB / 0.8242 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.6746, allocations: 191.9 kB / 0.8244 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6747, allocations: 3.938 kB / 0.8244 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.6747, allocations: 6.125 kB / 0.8244 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6747, allocations: 6.719 kB / 0.8244 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.675, allocations: 130.6 kB / 0.8246 GB, free: 5.719 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.0009477/0.676, allocations: 0.7808 MB / 0.8253 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.6762, allocations: 86.12 kB / 0.8254 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.6763, allocations: 71 kB / 0.8255 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.6766, allocations: 192.6 kB / 0.8257 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.6766, allocations: 33.56 kB / 0.8257 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6766, allocations: 0 / 0.8257 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006182/0.6773, allocations: 214.6 kB / 0.8259 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6773, allocations: 57.61 kB / 0.826 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.6776, allocations: 274 kB / 0.8262 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.6776, allocations: 25.7 kB / 0.8262 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.6777, allocations: 140.6 kB / 0.8264 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.6777, allocations: 39.73 kB / 0.8264 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.6778, allocations: 32.45 kB / 0.8264 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6779, allocations: 334.2 kB / 0.8268 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.678, allocations: 53.23 kB / 0.8268 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6782, allocations: 92.27 kB / 0.8269 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.6784, allocations: 125.5 kB / 0.827 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6785, allocations: 3.406 kB / 0.827 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003332/0.6788, allocations: 157.8 kB / 0.8272 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6788, allocations: 8.312 kB / 0.8272 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6788, allocations: 2.969 kB / 0.8272 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6788, allocations: 3.984 kB / 0.8272 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.679, allocations: 25.48 kB / 0.8272 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.679, allocations: 0 / 0.8272 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.6792, allocations: 18.36 kB / 0.8272 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.6792, allocations: 4.344 kB / 0.8272 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001851/0.6794, allocations: 149.1 kB / 0.8274 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.6795, allocations: 89.95 kB / 0.8275 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000247/0.6798, allocations: 125.1 kB / 0.8276 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.6798, allocations: 0 / 0.8276 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000297/0.6801, allocations: 149 kB / 0.8277 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.6801, allocations: 7.5 kB / 0.8277 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.6801, allocations: 3.938 kB / 0.8277 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.6802, allocations: 14.66 kB / 0.8277 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.6803, allocations: 23.11 kB / 0.8278 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.6803, allocations: 1.812 kB / 0.8278 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6804, allocations: 19.81 kB / 0.8278 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6805, allocations: 4.781 kB / 0.8278 GB, free: 3.047 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 9.977e-05/0.6806, allocations: 183.2 kB / 0.828 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.6806, allocations: 28.5 kB / 0.828 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.681, allocations: 163.4 kB / 0.8282 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.681, allocations: 0 / 0.8282 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.681, allocations: 2.938 kB / 0.8282 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.681, allocations: 0 / 0.8282 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008103/0.6818, allocations: 0.593 MB / 0.8287 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6818, allocations: 2.125 kB / 0.8287 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.6819, allocations: 21.98 kB / 0.8288 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6819, allocations: 6.594 kB / 0.8288 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.682, allocations: 2.062 kB / 0.8288 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.682, allocations: 7.312 kB / 0.8288 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.682, allocations: 6.688 kB / 0.8288 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.6823, allocations: 303.3 kB / 0.8291 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.6824, allocations: 113.3 kB / 0.8292 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.6825, allocations: 2.094 kB / 0.8292 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.6827, allocations: 15.95 kB / 0.8292 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.6827, allocations: 16.98 kB / 0.8292 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6827, allocations: 4.531 kB / 0.8292 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001669/0.6829, allocations: 198.9 kB / 0.8294 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6829, allocations: 0 / 0.8294 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005097/0.6834, allocations: 92.84 kB / 0.8295 GB, free: 1.641 MB / 0.5919 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.0003806/0.6838, allocations: 157 kB / 0.8296 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.6843, allocations: 168.8 kB / 0.8298 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6843, allocations: 0 / 0.8298 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.6844, allocations: 60.31 kB / 0.8299 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.6851, allocations: 134.2 kB / 0.83 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/0.6858, allocations: 460.8 kB / 0.8304 GB, free: 1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.6862, allocations: 0.7582 MB / 0.8312 GB, free: 272 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.6862, allocations: 20.16 kB / 0.8312 GB, free: 264 kB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.6862, allocations: 0 / 0.8312 GB, free: 264 kB / 0.5919 GB Notification: Performance of Templates: time 0.005599/0.6918, allocations: 3.693 MB / 0.8348 GB, free: 14.37 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)