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: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001379/0.001379, allocations: 193.3 kB / 16.25 MB, free: 6.645 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 / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9976/0.9976, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.23 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.197, allocations: 81.01 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5954/0.7924, allocations: 237 MB / 0.8159 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.8053, allocations: 7.163 MB / 0.8229 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.8075, allocations: 47.69 kB / 0.8229 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.8101, allocations: 0.6102 MB / 0.8235 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.8164, allocations: 1.95 MB / 0.8254 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.822, allocations: 1.878 MB / 0.8273 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.8271, allocations: 3.273 MB / 0.8305 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.8292, allocations: 1.106 MB / 0.8315 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.8337, allocations: 1.782 MB / 0.8333 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.8362, allocations: 1.019 MB / 0.8343 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.8366, allocations: 120 kB / 0.8344 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/0.842, allocations: 2.583 MB / 0.8369 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.8428, allocations: 470.7 kB / 0.8374 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.8444, allocations: 0.7233 MB / 0.8381 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.85, allocations: 2.836 MB / 0.8408 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.85, allocations: 0 / 0.8408 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.85, allocations: 0 / 0.8408 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.586e-05/0.8501, allocations: 0 / 0.8408 GB, free: 5.699 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.004131/0.8542, allocations: 1.712 MB / 0.8425 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8543, allocations: 16.02 kB / 0.8425 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.8572, allocations: 414 kB / 0.8429 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.8593, allocations: 0.9677 MB / 0.8439 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.8593, allocations: 65.92 kB / 0.8439 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.8596, allocations: 84 kB / 0.844 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.8614, allocations: 0.8623 MB / 0.8449 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.8614, allocations: 0 / 0.8449 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8616, allocations: 39.98 kB / 0.8449 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.8616, allocations: 26 kB / 0.8449 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.8631, allocations: 0.8042 MB / 0.8457 GB, free: 0.6172 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.005298/0.8685, allocations: 3.619 MB / 0.8492 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8701, allocations: 1.101 MB / 0.8503 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.8707, allocations: 363.2 kB / 0.8507 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/0.8715, allocations: 412.9 kB / 0.851 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8715, allocations: 39.12 kB / 0.8511 GB, free: 10.61 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.12e-05/0.8716, allocations: 0 / 0.8511 GB, free: 10.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002215/0.8738, allocations: 0.9622 MB / 0.852 GB, free: 9.648 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.8738, allocations: 59.97 kB / 0.8521 GB, free: 9.578 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.875, allocations: 0.84 MB / 0.8529 GB, free: 8.715 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.015e-05/0.8751, allocations: 37.7 kB / 0.8529 GB, free: 8.672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.8755, allocations: 484 kB / 0.8534 GB, free: 8.191 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.8757, allocations: 212.9 kB / 0.8536 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.8759, allocations: 118.1 kB / 0.8537 GB, free: 7.859 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8761, allocations: 334 kB / 0.854 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.8766, allocations: 252.5 kB / 0.8543 GB, free: 7.277 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.8772, allocations: 376.2 kB / 0.8546 GB, free: 6.875 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.8783, allocations: 0.5891 MB / 0.8552 GB, free: 6.273 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.8783, allocations: 3.938 kB / 0.8552 GB, free: 6.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.8796, allocations: 0.7281 MB / 0.8559 GB, free: 5.531 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8796, allocations: 8 kB / 0.8559 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8797, allocations: 4.125 kB / 0.8559 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8797, allocations: 4 kB / 0.8559 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.8802, allocations: 123.9 kB / 0.8561 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8803, allocations: 7.938 kB / 0.8561 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.8812, allocations: 115.4 kB / 0.8562 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.8812, allocations: 23.98 kB / 0.8562 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008138/0.882, allocations: 497 kB / 0.8567 GB, free: 4.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005847/0.8826, allocations: 368.3 kB / 0.857 GB, free: 4.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.8837, allocations: 0.5767 MB / 0.8576 GB, free: 3.777 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.8837, allocations: 0 / 0.8576 GB, free: 3.777 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001283/0.885, allocations: 0.728 MB / 0.8583 GB, free: 3.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.885, allocations: 4 kB / 0.8583 GB, free: 3.035 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.885, allocations: 8.125 kB / 0.8583 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.885, allocations: 4 kB / 0.8583 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.8855, allocations: 127.8 kB / 0.8584 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8856, allocations: 4 kB / 0.8584 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.8864, allocations: 107.5 kB / 0.8585 GB, free: 2.789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.8865, allocations: 27.94 kB / 0.8586 GB, free: 2.762 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.000212/0.8867, allocations: 217.6 kB / 0.8588 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.8869, allocations: 98.78 kB / 0.8589 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.8883, allocations: 0.7437 MB / 0.8596 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8883, allocations: 4 kB / 0.8596 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8883, allocations: 0 / 0.8596 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.8896, allocations: 0.9033 MB / 0.8605 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2753/1.165, allocations: 2.235 MB / 0.8627 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.165, allocations: 6.031 kB / 0.8627 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/1.166, allocations: 140.7 kB / 0.8628 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/1.166, allocations: 5.344 kB / 0.8628 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/1.166, allocations: 15.09 kB / 0.8628 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.166, allocations: 8.625 kB / 0.8628 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.166, allocations: 9.844 kB / 0.8628 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/1.167, allocations: 1.263 MB / 0.8641 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/1.168, allocations: 252.5 kB / 0.8643 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.168, allocations: 20.44 kB / 0.8643 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/1.169, allocations: 98.25 kB / 0.8644 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.169, allocations: 53.41 kB / 0.8645 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/1.169, allocations: 22.44 kB / 0.8645 GB, free: 222.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006181/1.169, allocations: 0.5836 MB / 0.8651 GB, free: 221.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 0.8651 GB, free: 221.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001109/1.171, allocations: 0.5364 MB / 0.8656 GB, free: 221.9 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.0004788/1.171, allocations: 246.5 kB / 0.8658 GB, free: 221.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.173, allocations: 1.001 MB / 0.8668 GB, free: 221.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.173, allocations: 0 / 0.8668 GB, free: 221.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/1.173, allocations: 349.1 kB / 0.8671 GB, free: 221.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.175, allocations: 0.6016 MB / 0.8677 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.178, allocations: 2.542 MB / 0.8702 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/1.179, allocations: 1.129 MB / 0.8713 GB, free: 219.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009873/1.18, allocations: 296.8 kB / 0.8716 GB, free: 219 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/1.18, allocations: 76.33 kB / 0.8717 GB, free: 219 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.18, allocations: 0 / 0.8717 GB, free: 219 MB / 0.67 GB Notification: Performance of Templates: time 0.03329/1.213, allocations: 20.2 MB / 0.8914 GB, free: 217.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)