Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",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.0008175/0.0008175, allocations: 91.53 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.005813/0.005813, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8745/0.8745, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 82.3 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.411/0.5344, allocations: 234.5 MB / 0.8171 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.5439, allocations: 7.202 MB / 0.8241 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.545, allocations: 43.69 kB / 0.8242 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.5465, allocations: 0.575 MB / 0.8247 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.5507, allocations: 1.952 MB / 0.8266 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.5546, allocations: 1.867 MB / 0.8285 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.5587, allocations: 4.431 MB / 0.8328 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.56, allocations: 0.9108 MB / 0.8337 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.5629, allocations: 1.572 MB / 0.8352 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.5646, allocations: 0.9514 MB / 0.8362 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.5648, allocations: 52 kB / 0.8362 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.5688, allocations: 2.837 MB / 0.839 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.5693, allocations: 374.7 kB / 0.8393 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008156/0.5701, allocations: 0.6586 MB / 0.84 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.5734, allocations: 2.726 MB / 0.8426 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5735, allocations: 0 / 0.8426 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5735, allocations: 3.938 kB / 0.8426 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.037e-05/0.5735, allocations: 0 / 0.8426 GB, free: 7.52 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002399/0.5759, allocations: 1.478 MB / 0.8441 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.576, allocations: 8.031 kB / 0.8441 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.5761, allocations: 134.8 kB / 0.8442 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.5786, allocations: 429.9 kB / 0.8446 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.5801, allocations: 0.9716 MB / 0.8456 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.5801, allocations: 66 kB / 0.8456 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5803, allocations: 80 kB / 0.8457 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5817, allocations: 0.8741 MB / 0.8466 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5817, allocations: 0 / 0.8466 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.5818, allocations: 32 kB / 0.8466 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.5818, allocations: 26 kB / 0.8466 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5832, allocations: 0.8276 MB / 0.8474 GB, free: 2.496 MB / 0.6544 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.004042/0.5873, allocations: 3.647 MB / 0.851 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.5885, allocations: 1.104 MB / 0.8521 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.5891, allocations: 383 kB / 0.8524 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.5897, allocations: 416.9 kB / 0.8528 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.5898, allocations: 47.06 kB / 0.8529 GB, free: 12.42 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.552e-06/0.5898, allocations: 0 / 0.8529 GB, free: 12.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001876/0.5916, allocations: 0.9858 MB / 0.8538 GB, free: 11.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.5917, allocations: 59.97 kB / 0.8539 GB, free: 11.36 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.5926, allocations: 0.8321 MB / 0.8547 GB, free: 10.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.5927, allocations: 45.7 kB / 0.8548 GB, free: 10.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.593, allocations: 488.1 kB / 0.8552 GB, free: 9.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.5931, allocations: 208.9 kB / 0.8554 GB, free: 9.766 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.5932, allocations: 53.69 kB / 0.8555 GB, free: 9.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.5933, allocations: 326 kB / 0.8558 GB, free: 9.383 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.5938, allocations: 261 kB / 0.856 GB, free: 9.129 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.5943, allocations: 380.3 kB / 0.8564 GB, free: 8.719 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/0.5953, allocations: 0.6125 MB / 0.857 GB, free: 8.094 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.5953, allocations: 0 / 0.857 GB, free: 8.094 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001201/0.5965, allocations: 0.7555 MB / 0.8577 GB, free: 7.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.5966, allocations: 122.7 kB / 0.8578 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.5966, allocations: 8 kB / 0.8579 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5966, allocations: 0 / 0.8579 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.5971, allocations: 135.8 kB / 0.858 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.5971, allocations: 4.547 kB / 0.858 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.5979, allocations: 127.3 kB / 0.8581 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.598, allocations: 31.92 kB / 0.8581 GB, free: 6.891 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.598, allocations: 4 kB / 0.8581 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.5991, allocations: 0.6222 MB / 0.8588 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5991, allocations: 3.938 kB / 0.8588 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.5991, allocations: 4 kB / 0.8588 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.5996, allocations: 139.9 kB / 0.8589 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5996, allocations: 1.484 kB / 0.8589 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.6004, allocations: 123.4 kB / 0.859 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.6005, allocations: 24 kB / 0.859 GB, free: 5.973 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003674/0.6008, allocations: 380.9 kB / 0.8594 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.601, allocations: 106.7 kB / 0.8595 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.6023, allocations: 0.7549 MB / 0.8602 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.6023, allocations: 8 kB / 0.8602 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6023, allocations: 3.984 kB / 0.8603 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.6034, allocations: 0.9229 MB / 0.8612 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.6063, allocations: 2.275 MB / 0.8634 GB, free: 1.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6063, allocations: 4 kB / 0.8634 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.6069, allocations: 144.2 kB / 0.8635 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6069, allocations: 12 kB / 0.8635 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.607, allocations: 19.98 kB / 0.8635 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.607, allocations: 6.578 kB / 0.8636 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.607, allocations: 7.938 kB / 0.8636 GB, free: 1.109 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2828/0.8898, allocations: 1.287 MB / 0.8648 GB, free: 51.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.8903, allocations: 261.3 kB / 0.8651 GB, free: 51.07 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.8904, allocations: 20.44 kB / 0.8651 GB, free: 51.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.8912, allocations: 96.19 kB / 0.8652 GB, free: 51.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.8913, allocations: 46.03 kB / 0.8652 GB, free: 51.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.8914, allocations: 26.95 kB / 0.8652 GB, free: 51.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006342/0.892, allocations: 0.5845 MB / 0.8658 GB, free: 50.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.22e-07/0.892, allocations: 1.625 kB / 0.8658 GB, free: 50.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001031/0.8931, allocations: 0.5326 MB / 0.8663 GB, free: 50.96 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001977/0.8951, allocations: 1.971 MB / 0.8683 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.8965, allocations: 0.9627 MB / 0.8692 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8965, allocations: 3.75 kB / 0.8692 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.897, allocations: 356 kB / 0.8695 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.9, allocations: 0.6233 MB / 0.8702 GB, free: 50.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.9092, allocations: 8.504 MB / 0.8785 GB, free: 46.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.9096, allocations: 1.12 MB / 0.8796 GB, free: 46.16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009106/0.9106, allocations: 302.2 kB / 0.8798 GB, free: 46.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.911, allocations: 418.5 kB / 0.8802 GB, free: 46.11 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.911, allocations: 0 / 0.8802 GB, free: 46.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.075/2.986, allocations: 28.17 MB / 0.9077 GB, free: 41.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/2.986, allocations: 247.1 kB / 0.908 GB, free: 41.24 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/5.727, allocations: 0 / 0.908 GB, free: 41.24 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)