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.0008829/0.000883, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.0009601/0.0009602, allocations: 172.8 kB / 16.27 MB, free: 6.664 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.99/0.99, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 82.31 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7279/0.9387, allocations: 234.5 MB / 0.817 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.9524, allocations: 7.202 MB / 0.824 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.9547, allocations: 47.69 kB / 0.8241 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.9571, allocations: 0.575 MB / 0.8246 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.9641, allocations: 1.948 MB / 0.8265 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005875/0.97, allocations: 1.87 MB / 0.8284 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006857/0.9769, allocations: 4.437 MB / 0.8327 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.9788, allocations: 0.9186 MB / 0.8336 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.9832, allocations: 1.552 MB / 0.8351 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.9858, allocations: 0.9693 MB / 0.8361 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.9861, allocations: 52 kB / 0.8361 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006048/0.9921, allocations: 2.829 MB / 0.8389 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008204/0.993, allocations: 378.7 kB / 0.8392 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.9942, allocations: 0.6624 MB / 0.8399 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.999, allocations: 2.726 MB / 0.8425 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.999, allocations: 7.938 kB / 0.8426 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.999, allocations: 0 / 0.8426 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.9991, allocations: 0 / 0.8426 GB, free: 7.598 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.002649/1.002, allocations: 1.474 MB / 0.844 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.002, allocations: 8.031 kB / 0.844 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/1.004, allocations: 433.9 kB / 0.8444 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/1.006, allocations: 0.9599 MB / 0.8454 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/1.006, allocations: 62 kB / 0.8454 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/1.006, allocations: 80 kB / 0.8455 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/1.008, allocations: 0.8819 MB / 0.8464 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.008, allocations: 0 / 0.8464 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/1.008, allocations: 32 kB / 0.8464 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/1.008, allocations: 29.94 kB / 0.8464 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/1.01, allocations: 0.8276 MB / 0.8472 GB, free: 2.719 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.006033/1.016, allocations: 3.639 MB / 0.8508 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.017, allocations: 1.105 MB / 0.8518 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.018, allocations: 383.2 kB / 0.8522 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/1.019, allocations: 416.9 kB / 0.8526 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/1.019, allocations: 51.05 kB / 0.8527 GB, free: 12.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.076e-06/1.019, allocations: 0 / 0.8527 GB, free: 12.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002305/1.021, allocations: 0.9858 MB / 0.8536 GB, free: 11.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.021, allocations: 67.95 kB / 0.8537 GB, free: 11.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.023, allocations: 0.8282 MB / 0.8545 GB, free: 10.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/1.023, allocations: 41.7 kB / 0.8545 GB, free: 10.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/1.023, allocations: 484.1 kB / 0.855 GB, free: 10.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/1.024, allocations: 205 kB / 0.8552 GB, free: 10 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/1.024, allocations: 57.69 kB / 0.8552 GB, free: 9.938 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.024, allocations: 329.9 kB / 0.8556 GB, free: 9.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/1.024, allocations: 257 kB / 0.8558 GB, free: 9.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/1.025, allocations: 380.3 kB / 0.8562 GB, free: 8.949 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.026, allocations: 0.6203 MB / 0.8568 GB, free: 8.316 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.026, allocations: 3.938 kB / 0.8568 GB, free: 8.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/1.028, allocations: 0.7477 MB / 0.8575 GB, free: 7.555 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.028, allocations: 126.8 kB / 0.8576 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.028, allocations: 0 / 0.8576 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.028, allocations: 4 kB / 0.8576 GB, free: 7.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/1.029, allocations: 135.8 kB / 0.8578 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.029, allocations: 4.938 kB / 0.8578 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.03, allocations: 127.3 kB / 0.8579 GB, free: 7.148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.03, allocations: 20 kB / 0.8579 GB, free: 7.129 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/1.03, allocations: 7.938 kB / 0.8579 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/1.031, allocations: 0.634 MB / 0.8585 GB, free: 6.484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/1.031, allocations: 0 / 0.8585 GB, free: 6.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/1.031, allocations: 4 kB / 0.8585 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/1.032, allocations: 131.8 kB / 0.8587 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.032, allocations: 4 kB / 0.8587 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/1.033, allocations: 123.5 kB / 0.8588 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.033, allocations: 23.98 kB / 0.8588 GB, free: 6.203 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.000557/1.033, allocations: 380.9 kB / 0.8592 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.034, allocations: 110.7 kB / 0.8593 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.035, allocations: 0.7671 MB / 0.86 GB, free: 4.938 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.035, allocations: 8 kB / 0.86 GB, free: 4.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.035, allocations: 0 / 0.86 GB, free: 4.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/1.037, allocations: 0.9229 MB / 0.8609 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/1.041, allocations: 2.263 MB / 0.8631 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.041, allocations: 11.97 kB / 0.8632 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/1.042, allocations: 139.8 kB / 0.8633 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.042, allocations: 8 kB / 0.8633 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/1.042, allocations: 16 kB / 0.8633 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.042, allocations: 7.984 kB / 0.8633 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.042, allocations: 7.938 kB / 0.8633 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3059/1.348, allocations: 1.285 MB / 0.8646 GB, free: 219.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/1.348, allocations: 264.7 kB / 0.8648 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.349, allocations: 17.08 kB / 0.8649 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/1.35, allocations: 97.81 kB / 0.8649 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.35, allocations: 55.58 kB / 0.865 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/1.35, allocations: 25.73 kB / 0.865 GB, free: 219.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007678/1.351, allocations: 0.5883 MB / 0.8656 GB, free: 219.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.351, allocations: 0 / 0.8656 GB, free: 219.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001237/1.352, allocations: 0.5315 MB / 0.8661 GB, free: 219.5 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.0004955/1.352, allocations: 235.9 kB / 0.8663 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.354, allocations: 0.9706 MB / 0.8673 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.354, allocations: 0 / 0.8673 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005261/1.355, allocations: 354.6 kB / 0.8676 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.358, allocations: 0.6279 MB / 0.8682 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/1.361, allocations: 2.647 MB / 0.8708 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/1.361, allocations: 1.126 MB / 0.8719 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001049/1.362, allocations: 305.1 kB / 0.8722 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/1.363, allocations: 77.12 kB / 0.8723 GB, free: 217.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.272e-06/1.363, allocations: 0 / 0.8723 GB, free: 217.3 MB / 0.67 GB Notification: Performance of Templates: time 0.03796/1.4, allocations: 19.69 MB / 0.8915 GB, free: 216.1 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)