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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_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.0008371/0.000837, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005112/0.005113, allocations: 170 kB / 16.26 MB, free: 6.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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002581, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 82.3 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.3078/0.4306, allocations: 112.6 MB / 0.698 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.4646, allocations: 26.33 MB / 0.7237 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004531/0.4692, allocations: 100.2 kB / 0.7238 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.4722, allocations: 0.9263 MB / 0.7247 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008812/0.481, allocations: 3.163 MB / 0.7278 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005578/0.4866, allocations: 2.085 MB / 0.7298 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009091/0.4957, allocations: 8.148 MB / 0.7378 GB, free: 268 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.4981, allocations: 1.56 MB / 0.7393 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.5025, allocations: 2.25 MB / 0.7415 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.5052, allocations: 1.711 MB / 0.7432 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003768/0.5056, allocations: 92.78 kB / 0.7433 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004706/0.5103, allocations: 2.129 MB / 0.7453 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.5108, allocations: 413.9 kB / 0.7457 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.5125, allocations: 1.164 MB / 0.7469 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.5178, allocations: 3.921 MB / 0.7507 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5178, allocations: 7.922 kB / 0.7507 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5178, allocations: 0 / 0.7507 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.411e-05/0.5179, allocations: 0 / 0.7507 GB, free: 5.426 MB / 0.5606 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.004754/0.5227, allocations: 2.421 MB / 0.7531 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5227, allocations: 16.03 kB / 0.7531 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002967/0.523, allocations: 198.6 kB / 0.7533 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.5236, allocations: 257 kB / 0.7535 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.5271, allocations: 2.103 MB / 0.7556 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.5272, allocations: 102.7 kB / 0.7557 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.5274, allocations: 140 kB / 0.7558 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.5295, allocations: 1.465 MB / 0.7572 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.5295, allocations: 11.84 kB / 0.7573 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.5296, allocations: 56 kB / 0.7573 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.5297, allocations: 36 kB / 0.7573 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.5313, allocations: 1.029 MB / 0.7583 GB, free: 13.4 MB / 0.5762 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.006897/0.5382, allocations: 8.132 MB / 0.7663 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.5395, allocations: 0.8432 MB / 0.7671 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.54, allocations: 385 kB / 0.7675 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.5418, allocations: 2.807 MB / 0.7702 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5418, allocations: 43.22 kB / 0.7703 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.394e-06/0.5418, allocations: 0 / 0.7703 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.001838/0.5436, allocations: 1.144 MB / 0.7714 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5437, allocations: 64.06 kB / 0.7714 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.5454, allocations: 1.606 MB / 0.773 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.5455, allocations: 41.7 kB / 0.773 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006025/0.5461, allocations: 0.9277 MB / 0.774 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.5463, allocations: 307.6 kB / 0.7742 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.5465, allocations: 89.67 kB / 0.7743 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5466, allocations: 354.7 kB / 0.7747 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.5471, allocations: 326.4 kB / 0.775 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.5478, allocations: 0.7111 MB / 0.7757 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.5492, allocations: 1.097 MB / 0.7767 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5492, allocations: 4 kB / 0.7767 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0018/0.551, allocations: 1.257 MB / 0.778 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.5512, allocations: 449.3 kB / 0.7784 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.5512, allocations: 23.98 kB / 0.7784 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5513, allocations: 19.94 kB / 0.7784 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.552, allocations: 267.5 kB / 0.7787 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.552, allocations: 19.94 kB / 0.7787 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.5531, allocations: 186.6 kB / 0.7789 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.5532, allocations: 67.97 kB / 0.779 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.5532, allocations: 6.344 kB / 0.779 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/0.5547, allocations: 1.058 MB / 0.78 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.5548, allocations: 23.97 kB / 0.78 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5548, allocations: 16 kB / 0.78 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.5555, allocations: 259.6 kB / 0.7803 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5555, allocations: 23.88 kB / 0.7803 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008949/0.5564, allocations: 175 kB / 0.7805 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.5565, allocations: 63.97 kB / 0.7805 GB, free: 4.723 MB / 0.5919 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.0005399/0.5571, allocations: 472.7 kB / 0.781 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.5573, allocations: 189.7 kB / 0.7812 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.5599, allocations: 1.747 MB / 0.7829 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.5599, allocations: 23.98 kB / 0.7829 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5599, allocations: 3.938 kB / 0.7829 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/0.5614, allocations: 1.15 MB / 0.784 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.5657, allocations: 3.483 MB / 0.7874 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.5657, allocations: 20.02 kB / 0.7874 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.5664, allocations: 199.7 kB / 0.7876 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.5664, allocations: 12 kB / 0.7876 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.5665, allocations: 47.97 kB / 0.7877 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.5665, allocations: 8 kB / 0.7877 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.5665, allocations: 11.94 kB / 0.7877 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.5691, allocations: 2.249 MB / 0.7899 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.5697, allocations: 469.9 kB / 0.7904 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.5699, allocations: 31.98 kB / 0.7904 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.5708, allocations: 107.1 kB / 0.7905 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.571, allocations: 116.7 kB / 0.7906 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/0.571, allocations: 71.84 kB / 0.7907 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001259/0.5723, allocations: 1.071 MB / 0.7917 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5723, allocations: 0 / 0.7917 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002332/0.5747, allocations: 1.131 MB / 0.7928 GB, free: 7.809 MB / 0.6075 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.004006/0.5787, allocations: 3.477 MB / 0.7962 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.581, allocations: 1.805 MB / 0.798 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.581, allocations: 4 kB / 0.798 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009974/0.582, allocations: 0.829 MB / 0.7988 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005036/0.587, allocations: 0.9321 MB / 0.7997 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.6061, allocations: 14.62 MB / 0.814 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/0.6069, allocations: 1.432 MB / 0.8154 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001718/0.6086, allocations: 0.5349 MB / 0.8159 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/0.6096, allocations: 0.8506 MB / 0.8167 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.6096, allocations: 0 / 0.8167 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.773/3.383, allocations: 56.79 MB / 0.8722 GB, free: 207.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/3.383, allocations: 241.2 kB / 0.8724 GB, free: 207.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.46/8.843, allocations: 2.625 kB / 0.8724 GB, free: 207.5 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)