Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008624/0.008624, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001869/0.001869, allocations: 198 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4513, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1153/0.5667, allocations: 115.2 MB / 0.7771 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03927/0.606, allocations: 26.52 MB / 0.803 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004569/0.6106, allocations: 115.4 kB / 0.8031 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.6154, allocations: 1.176 MB / 0.8042 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.6322, allocations: 3.595 MB / 0.8078 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009616/0.6419, allocations: 2.365 MB / 0.8101 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01421/0.6561, allocations: 6.194 MB / 0.8161 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005269/0.6614, allocations: 1.929 MB / 0.818 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009173/0.6706, allocations: 2.702 MB / 0.8206 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004777/0.6754, allocations: 1.766 MB / 0.8224 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.6766, allocations: 224 kB / 0.8226 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007249/0.6839, allocations: 2.336 MB / 0.8249 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.6849, allocations: 0.5371 MB / 0.8254 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.6875, allocations: 1.291 MB / 0.8266 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008185/0.6957, allocations: 4.111 MB / 0.8307 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6957, allocations: 0 / 0.8307 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6958, allocations: 0 / 0.8307 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001245/0.6959, allocations: 0 / 0.8307 GB, free: 7.125 MB / 0.6544 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.007105/0.703, allocations: 2.826 MB / 0.8334 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.7031, allocations: 8.031 kB / 0.8334 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.704, allocations: 264.9 kB / 0.8337 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004737/0.7087, allocations: 2.146 MB / 0.8358 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.7088, allocations: 102.7 kB / 0.8359 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.7091, allocations: 143.9 kB / 0.836 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.7116, allocations: 1.45 MB / 0.8374 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.7117, allocations: 4.047 kB / 0.8374 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7118, allocations: 56 kB / 0.8375 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.7118, allocations: 39.94 kB / 0.8375 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7137, allocations: 1.029 MB / 0.8385 GB, free: 14.87 MB / 0.67 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.009437/0.7231, allocations: 8.12 MB / 0.8465 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.7247, allocations: 0.8334 MB / 0.8473 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.7253, allocations: 376.7 kB / 0.8476 GB, free: 4.824 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.7275, allocations: 2.811 MB / 0.8504 GB, free: 1.387 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.7276, allocations: 43.16 kB / 0.8504 GB, free: 1.336 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.985e-06/0.7276, allocations: 0 / 0.8504 GB, free: 1.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.002379/0.73, allocations: 1.128 MB / 0.8515 GB, free: 212 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.7301, allocations: 60.06 kB / 0.8516 GB, free: 140 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.7329, allocations: 1.625 MB / 0.8532 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.733, allocations: 45.64 kB / 0.8532 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008407/0.7339, allocations: 0.9276 MB / 0.8541 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.7342, allocations: 307.6 kB / 0.8544 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.7346, allocations: 230.6 kB / 0.8546 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7348, allocations: 349.9 kB / 0.855 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.7354, allocations: 333.9 kB / 0.8553 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/0.7364, allocations: 0.7072 MB / 0.856 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.7381, allocations: 1.081 MB / 0.857 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.7381, allocations: 4 kB / 0.857 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00257/0.7407, allocations: 1.246 MB / 0.8582 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7407, allocations: 16.09 kB / 0.8583 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/0.7408, allocations: 27.92 kB / 0.8583 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.7408, allocations: 16 kB / 0.8583 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.7417, allocations: 255.6 kB / 0.8585 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-05/0.7417, allocations: 23.94 kB / 0.8586 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.743, allocations: 142.6 kB / 0.8587 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.7431, allocations: 67.92 kB / 0.8588 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/0.7444, allocations: 0.6197 MB / 0.8594 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009934/0.7454, allocations: 0.711 MB / 0.8601 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.7471, allocations: 1.073 MB / 0.8611 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.105e-05/0.7471, allocations: 0 / 0.8611 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002326/0.7495, allocations: 1.249 MB / 0.8623 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7495, allocations: 12 kB / 0.8623 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.7495, allocations: 16 kB / 0.8624 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7495, allocations: 19.94 kB / 0.8624 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.7503, allocations: 259.5 kB / 0.8626 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.7504, allocations: 27.92 kB / 0.8626 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7515, allocations: 99.42 kB / 0.8627 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.7517, allocations: 67.97 kB / 0.8628 GB, free: 3.859 MB / 0.6856 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.0003414/0.752, allocations: 251.9 kB / 0.863 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.7525, allocations: 189.7 kB / 0.8632 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.7557, allocations: 1.74 MB / 0.8649 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/0.7557, allocations: 23.97 kB / 0.865 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7558, allocations: 0 / 0.865 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/0.7575, allocations: 1.146 MB / 0.8661 GB, free: 472 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4389/1.196, allocations: 3.478 MB / 0.8695 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.196, allocations: 11.42 kB / 0.8695 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/1.197, allocations: 200.7 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/1.197, allocations: 11.5 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-05/1.197, allocations: 44.44 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.117e-05/1.197, allocations: 19.81 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.197, allocations: 7.125 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.202, allocations: 2.229 MB / 0.8719 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000939/1.203, allocations: 445.2 kB / 0.8724 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.203, allocations: 33.52 kB / 0.8724 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008813/1.204, allocations: 45.83 kB / 0.8724 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/1.204, allocations: 112.8 kB / 0.8725 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.204, allocations: 63.38 kB / 0.8726 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00203/1.206, allocations: 1.088 MB / 0.8737 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.206, allocations: 0 / 0.8737 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003899/1.21, allocations: 1.128 MB / 0.8748 GB, free: 183 MB / 0.6856 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.00197/1.212, allocations: 0.8036 MB / 0.8755 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003197/1.215, allocations: 1.812 MB / 0.8773 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.215, allocations: 1.469 kB / 0.8773 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.216, allocations: 0.8247 MB / 0.8781 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/1.221, allocations: 0.9669 MB / 0.8791 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/1.226, allocations: 3.565 MB / 0.8825 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.227, allocations: 1.434 MB / 0.8839 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002211/1.229, allocations: 0.5426 MB / 0.8845 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.23, allocations: 185.8 kB / 0.8847 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.23, allocations: 1.031 kB / 0.8847 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.06826/1.298, allocations: 43.36 MB / 0.927 GB, free: 146.7 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)