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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007214/0.007215, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001691/0.001691, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.273/1.273, allocations: 222.9 MB / 240.4 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.7556/0.7556, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 70.31 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4799/0.6256, allocations: 115.1 MB / 0.7716 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0313/0.6569, allocations: 26.52 MB / 0.7975 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005741/0.6627, allocations: 110.7 kB / 0.7976 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.6658, allocations: 1.15 MB / 0.7987 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.6756, allocations: 3.41 MB / 0.8021 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.6818, allocations: 2.35 MB / 0.8044 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008006/0.6899, allocations: 6.195 MB / 0.8104 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.6929, allocations: 1.924 MB / 0.8123 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005731/0.6986, allocations: 2.693 MB / 0.8149 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.702, allocations: 1.772 MB / 0.8167 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.7027, allocations: 221.9 kB / 0.8169 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006097/0.7088, allocations: 2.349 MB / 0.8192 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009021/0.7097, allocations: 0.5312 MB / 0.8197 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.7124, allocations: 1.279 MB / 0.8209 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.7204, allocations: 4.11 MB / 0.8249 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7205, allocations: 3.938 kB / 0.825 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7205, allocations: 1.812 kB / 0.825 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001192/0.7206, allocations: 0 / 0.825 GB, free: 9.992 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.007061/0.7277, allocations: 2.843 MB / 0.8277 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7277, allocations: 7.938 kB / 0.8277 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003992/0.7281, allocations: 197.2 kB / 0.8279 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.7289, allocations: 255.1 kB / 0.8282 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.7329, allocations: 2.136 MB / 0.8303 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.733, allocations: 105.9 kB / 0.8304 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.7331, allocations: 134.5 kB / 0.8305 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.7353, allocations: 1.459 MB / 0.8319 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.7354, allocations: 7.281 kB / 0.8319 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.7355, allocations: 54.72 kB / 0.832 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.7355, allocations: 35.56 kB / 0.832 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.7372, allocations: 1.031 MB / 0.833 GB, free: 4.43 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.008002/0.7452, allocations: 8.129 MB / 0.8409 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.7466, allocations: 0.8359 MB / 0.8418 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.7472, allocations: 379.8 kB / 0.8421 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/0.7493, allocations: 2.808 MB / 0.8449 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.7494, allocations: 43.22 kB / 0.8449 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/0.7494, allocations: 4 kB / 0.8449 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002272/0.7517, allocations: 1.121 MB / 0.846 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.7517, allocations: 64 kB / 0.8461 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.754, allocations: 1.617 MB / 0.8476 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.754, allocations: 46.47 kB / 0.8477 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/0.7548, allocations: 0.9299 MB / 0.8486 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.7551, allocations: 306.1 kB / 0.8489 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.7554, allocations: 230.7 kB / 0.8491 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7556, allocations: 349.9 kB / 0.8494 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.7562, allocations: 337 kB / 0.8498 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/0.7571, allocations: 0.6994 MB / 0.8505 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.7587, allocations: 1.089 MB / 0.8515 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7587, allocations: 4 kB / 0.8515 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00224/0.7609, allocations: 1.249 MB / 0.8527 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.761, allocations: 12.16 kB / 0.8527 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.761, allocations: 16 kB / 0.8528 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.761, allocations: 20 kB / 0.8528 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.7619, allocations: 259.5 kB / 0.853 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.511e-05/0.7619, allocations: 31.86 kB / 0.8531 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.763, allocations: 138.6 kB / 0.8532 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7631, allocations: 67.97 kB / 0.8533 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001068/0.7642, allocations: 0.6236 MB / 0.8539 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000858/0.7651, allocations: 0.6994 MB / 0.8546 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001532/0.7666, allocations: 1.077 MB / 0.8556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.786e-06/0.7667, allocations: 4 kB / 0.8556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002249/0.7689, allocations: 1.245 MB / 0.8568 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7689, allocations: 12 kB / 0.8568 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/0.769, allocations: 19.98 kB / 0.8569 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.769, allocations: 16 kB / 0.8569 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7701, allocations: 255.6 kB / 0.8571 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.588e-05/0.7702, allocations: 32.02 kB / 0.8571 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.7716, allocations: 95.48 kB / 0.8572 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.7718, allocations: 67.97 kB / 0.8573 GB, free: 9.586 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.0004165/0.7722, allocations: 255.8 kB / 0.8575 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004927/0.7727, allocations: 189.7 kB / 0.8577 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.7768, allocations: 1.742 MB / 0.8594 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/0.7769, allocations: 23.92 kB / 0.8594 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7769, allocations: 0 / 0.8594 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002425/0.7793, allocations: 1.146 MB / 0.8606 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007383/0.7867, allocations: 3.48 MB / 0.864 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-05/0.7868, allocations: 20.12 kB / 0.864 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.7877, allocations: 195.7 kB / 0.8642 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.192e-05/0.7878, allocations: 15.94 kB / 0.8642 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.7879, allocations: 47.98 kB / 0.8642 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/0.7879, allocations: 11.94 kB / 0.8642 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.7879, allocations: 19.86 kB / 0.8643 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.7925, allocations: 2.222 MB / 0.8664 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/0.7935, allocations: 438 kB / 0.8669 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/0.794, allocations: 32 kB / 0.8669 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.7953, allocations: 43.97 kB / 0.8669 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.7955, allocations: 124.6 kB / 0.867 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.7957, allocations: 59.97 kB / 0.8671 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002325/0.798, allocations: 1.083 MB / 0.8682 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.91e-07/0.798, allocations: 3.938 kB / 0.8682 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004329/0.8024, allocations: 1.138 MB / 0.8693 GB, free: 13.01 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.006877/0.8093, allocations: 3.468 MB / 0.8727 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004206/0.8135, allocations: 1.813 MB / 0.8744 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.8135, allocations: 4 kB / 0.8744 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8151, allocations: 0.8221 MB / 0.8752 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/0.821, allocations: 0.9628 MB / 0.8762 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/0.8424, allocations: 12.45 MB / 0.8883 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.8436, allocations: 1.436 MB / 0.8897 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001936/0.8456, allocations: 0.5387 MB / 0.8903 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.8468, allocations: 0.8468 MB / 0.8911 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.8468, allocations: 4 kB / 0.8911 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.9515, allocations: 59.67 MB / 0.9494 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/12.01, allocations: 13.55 kB / 0.9494 GB, free: 10.69 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)