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.006515/0.006515, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001453/0.001453, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.862/0.862, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.23 kB / 0.5813 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 80.21 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5757/0.749, allocations: 115.1 MB / 0.7721 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04103/0.7901, allocations: 26.52 MB / 0.798 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006013/0.7961, allocations: 113.3 kB / 0.7981 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.7993, allocations: 1.181 MB / 0.7993 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.8104, allocations: 3.58 MB / 0.8028 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006826/0.8173, allocations: 2.361 MB / 0.8051 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009782/0.8271, allocations: 6.204 MB / 0.8111 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.8299, allocations: 1.931 MB / 0.813 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006267/0.8361, allocations: 2.708 MB / 0.8157 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.8395, allocations: 1.769 MB / 0.8174 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.8399, allocations: 220.5 kB / 0.8176 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006846/0.8468, allocations: 2.349 MB / 0.8199 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.8473, allocations: 0.5325 MB / 0.8204 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.8489, allocations: 1.283 MB / 0.8217 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006465/0.8554, allocations: 4.102 MB / 0.8257 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.8554, allocations: 7.938 kB / 0.8257 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8554, allocations: 2.906 kB / 0.8257 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.837e-05/0.8555, allocations: 0 / 0.8257 GB, free: 9.852 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.005813/0.8613, allocations: 2.833 MB / 0.8284 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.8613, allocations: 10.94 kB / 0.8285 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.862, allocations: 261.7 kB / 0.8287 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.8658, allocations: 2.135 MB / 0.8308 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.8659, allocations: 103.2 kB / 0.8309 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.8661, allocations: 138.8 kB / 0.831 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.8689, allocations: 1.458 MB / 0.8324 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.832e-05/0.8689, allocations: 3.906 kB / 0.8324 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.8691, allocations: 63.22 kB / 0.8325 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.8692, allocations: 33.19 kB / 0.8325 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.8711, allocations: 1.024 MB / 0.8335 GB, free: 4.531 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.00865/0.8797, allocations: 8.127 MB / 0.8415 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8812, allocations: 0.8445 MB / 0.8423 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.8818, allocations: 375.8 kB / 0.8427 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/0.8839, allocations: 2.798 MB / 0.8454 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.8839, allocations: 47.22 kB / 0.8454 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.745e-06/0.8839, allocations: 7.938 kB / 0.8454 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002416/0.8864, allocations: 1.121 MB / 0.8465 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.8864, allocations: 71.92 kB / 0.8466 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.8886, allocations: 1.614 MB / 0.8482 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.8888, allocations: 49.7 kB / 0.8482 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.8895, allocations: 0.933 MB / 0.8491 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.8898, allocations: 301.5 kB / 0.8494 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.8901, allocations: 230.7 kB / 0.8496 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8903, allocations: 349.9 kB / 0.85 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.8909, allocations: 329.9 kB / 0.8503 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.8917, allocations: 0.6994 MB / 0.851 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.8933, allocations: 1.089 MB / 0.852 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8933, allocations: 4 kB / 0.852 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002431/0.8957, allocations: 1.249 MB / 0.8533 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.8957, allocations: 12.84 kB / 0.8533 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.8958, allocations: 12 kB / 0.8533 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/0.8958, allocations: 20 kB / 0.8533 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.8967, allocations: 263.6 kB / 0.8536 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/0.8967, allocations: 31.8 kB / 0.8536 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.8981, allocations: 134.6 kB / 0.8537 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8982, allocations: 71.97 kB / 0.8538 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/0.8994, allocations: 0.6197 MB / 0.8544 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009384/0.9004, allocations: 0.7033 MB / 0.8551 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/0.9019, allocations: 1.083 MB / 0.8561 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.9019, allocations: 4 kB / 0.8561 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002372/0.9042, allocations: 1.242 MB / 0.8574 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.9043, allocations: 16 kB / 0.8574 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.9043, allocations: 19.98 kB / 0.8574 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9043, allocations: 16 kB / 0.8574 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.9051, allocations: 255.6 kB / 0.8576 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.9051, allocations: 21.42 kB / 0.8577 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.9063, allocations: 111.1 kB / 0.8578 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.9065, allocations: 63.98 kB / 0.8578 GB, free: 9.684 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.0004128/0.9069, allocations: 251.8 kB / 0.8581 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.9072, allocations: 189.7 kB / 0.8583 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.9104, allocations: 1.746 MB / 0.86 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.9105, allocations: 19.98 kB / 0.86 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.9105, allocations: 3.938 kB / 0.86 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001655/0.9122, allocations: 1.138 MB / 0.8611 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.9177, allocations: 3.486 MB / 0.8645 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.9177, allocations: 12.8 kB / 0.8645 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/0.9184, allocations: 199.7 kB / 0.8647 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.9184, allocations: 12 kB / 0.8647 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.9185, allocations: 47.97 kB / 0.8648 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.849e-05/0.9185, allocations: 15.94 kB / 0.8648 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.9185, allocations: 11.94 kB / 0.8648 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.9218, allocations: 2.23 MB / 0.867 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007873/0.9226, allocations: 442.1 kB / 0.8674 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.9229, allocations: 31.98 kB / 0.8674 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.9238, allocations: 43.97 kB / 0.8675 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.924, allocations: 120.7 kB / 0.8676 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.9241, allocations: 59.97 kB / 0.8676 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00156/0.9256, allocations: 1.087 MB / 0.8687 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9256, allocations: 0 / 0.8687 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003097/0.9287, allocations: 1.138 MB / 0.8698 GB, free: 13.11 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.001557/0.9303, allocations: 0.8 MB / 0.8706 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.9333, allocations: 1.803 MB / 0.8723 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.9333, allocations: 0 / 0.8723 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.9345, allocations: 0.8276 MB / 0.8732 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/0.9391, allocations: 0.9589 MB / 0.8741 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.9452, allocations: 3.572 MB / 0.8776 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9462, allocations: 1.432 MB / 0.879 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00194/0.9482, allocations: 0.5349 MB / 0.8795 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.9486, allocations: 187.3 kB / 0.8797 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of SimCode: time 1.563e-06/0.9486, allocations: 0 / 0.8797 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of Templates: time 0.07532/1.024, allocations: 43.34 MB / 0.922 GB, free: 7.961 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)