Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01104/0.01104, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002425/0.002425, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.753/1.753, allocations: 222.9 MB / 240.4 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.9169/0.9169, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.08 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5947/0.7645, allocations: 115.1 MB / 0.7721 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03639/0.8009, allocations: 26.52 MB / 0.798 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006047/0.807, allocations: 115.2 kB / 0.7981 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.8108, allocations: 1.174 MB / 0.7993 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.8222, allocations: 3.58 MB / 0.8028 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007963/0.8302, allocations: 2.373 MB / 0.8051 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.8405, allocations: 6.192 MB / 0.8111 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.8445, allocations: 1.929 MB / 0.813 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007235/0.8518, allocations: 2.707 MB / 0.8156 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.856, allocations: 1.778 MB / 0.8174 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008913/0.8569, allocations: 221 kB / 0.8176 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007768/0.8647, allocations: 2.34 MB / 0.8199 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.8661, allocations: 0.5272 MB / 0.8204 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003915/0.87, allocations: 1.291 MB / 0.8217 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.8801, allocations: 4.105 MB / 0.8257 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8801, allocations: 3.938 kB / 0.8257 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8801, allocations: 0 / 0.8257 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.8802, allocations: 0 / 0.8257 GB, free: 9.883 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005542/0.8858, allocations: 2.835 MB / 0.8284 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8858, allocations: 11.19 kB / 0.8284 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007402/0.8865, allocations: 255 kB / 0.8287 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.8908, allocations: 2.137 MB / 0.8308 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.8908, allocations: 111.1 kB / 0.8309 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.891, allocations: 141.5 kB / 0.831 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.8934, allocations: 1.45 MB / 0.8324 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.8935, allocations: 11.88 kB / 0.8324 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.8936, allocations: 57.25 kB / 0.8325 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.8937, allocations: 36.8 kB / 0.8325 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.8956, allocations: 1.031 MB / 0.8335 GB, free: 4.535 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.009454/0.905, allocations: 8.12 MB / 0.8415 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.9066, allocations: 0.8384 MB / 0.8423 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.9072, allocations: 379.8 kB / 0.8427 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.9094, allocations: 2.811 MB / 0.8454 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.9094, allocations: 43.22 kB / 0.8454 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.055e-06/0.9094, allocations: 0 / 0.8454 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002436/0.9119, allocations: 1.124 MB / 0.8465 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.9119, allocations: 68 kB / 0.8466 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.914, allocations: 1.621 MB / 0.8482 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.9141, allocations: 41.7 kB / 0.8482 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/0.9149, allocations: 0.9225 MB / 0.8491 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.9152, allocations: 315.8 kB / 0.8494 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.9155, allocations: 230.7 kB / 0.8496 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9156, allocations: 341.9 kB / 0.85 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.9163, allocations: 333.9 kB / 0.8503 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/0.9171, allocations: 0.711 MB / 0.851 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.9187, allocations: 1.081 MB / 0.852 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.9187, allocations: 4 kB / 0.852 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00226/0.921, allocations: 1.253 MB / 0.8533 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.921, allocations: 8 kB / 0.8533 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.921, allocations: 21.55 kB / 0.8533 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.9211, allocations: 16 kB / 0.8533 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.9219, allocations: 263.5 kB / 0.8536 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/0.9219, allocations: 23.88 kB / 0.8536 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.9232, allocations: 142.6 kB / 0.8537 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.9233, allocations: 63.98 kB / 0.8538 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001126/0.9244, allocations: 0.6275 MB / 0.8544 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008595/0.9253, allocations: 0.7032 MB / 0.8551 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001539/0.9269, allocations: 1.077 MB / 0.8561 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.102e-06/0.9269, allocations: 8.547 kB / 0.8561 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002295/0.9292, allocations: 1.241 MB / 0.8574 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9292, allocations: 8 kB / 0.8574 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.9292, allocations: 16 kB / 0.8574 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.9293, allocations: 16 kB / 0.8574 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.9301, allocations: 267.9 kB / 0.8577 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.9301, allocations: 27.92 kB / 0.8577 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.9312, allocations: 99.2 kB / 0.8578 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.9313, allocations: 63.97 kB / 0.8578 GB, free: 9.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003558/0.9317, allocations: 255.8 kB / 0.8581 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.932, allocations: 189.7 kB / 0.8583 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.9351, allocations: 1.737 MB / 0.86 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.9351, allocations: 23.97 kB / 0.86 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.9352, allocations: 11.94 kB / 0.86 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/0.9369, allocations: 1.138 MB / 0.8611 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/0.9422, allocations: 3.481 MB / 0.8645 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/0.9423, allocations: 16 kB / 0.8645 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/0.943, allocations: 199.7 kB / 0.8647 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.943, allocations: 12 kB / 0.8647 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.9431, allocations: 43.98 kB / 0.8648 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.9431, allocations: 19.92 kB / 0.8648 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.9431, allocations: 8 kB / 0.8648 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.9465, allocations: 2.234 MB / 0.867 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/0.9472, allocations: 430.1 kB / 0.8674 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.9475, allocations: 35.98 kB / 0.8674 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007903/0.9483, allocations: 39.98 kB / 0.8675 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.9485, allocations: 120.7 kB / 0.8676 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9486, allocations: 59.97 kB / 0.8676 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001532/0.9501, allocations: 1.091 MB / 0.8687 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9501, allocations: 0 / 0.8687 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002999/0.9531, allocations: 1.138 MB / 0.8698 GB, free: 13.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001445/0.9546, allocations: 0.7954 MB / 0.8706 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.9574, allocations: 1.804 MB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9574, allocations: 0.75 kB / 0.8723 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.9586, allocations: 0.8286 MB / 0.8731 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.9621, allocations: 0.9586 MB / 0.8741 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.9671, allocations: 3.565 MB / 0.8776 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.968, allocations: 1.432 MB / 0.879 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001666/0.9697, allocations: 0.542 MB / 0.8795 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.9701, allocations: 191.4 kB / 0.8797 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.9701, allocations: 0 / 0.8797 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of Templates: time 0.07163/1.042, allocations: 43.34 MB / 0.922 GB, free: 7.98 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)