Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4222/0.4222, allocations: 55.01 MB / 69.96 MB, free: 8.648 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001339/0.001338, allocations: 194.2 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.142/2.142, allocations: 194.4 MB / 292.3 MB, free: 3.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002123/0.002123, allocations: 107.7 kB / 350.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1684, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.379/6.547, allocations: 2.138 GB / 2.603 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/6.547, allocations: 91.95 kB / 2.603 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.615/10.16, allocations: 0.8454 GB / 3.449 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.195e-06/10.16, allocations: 3.406 kB / 3.449 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001574/10.16, allocations: 38.06 kB / 3.449 GB, free: 61.02 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006091/10.17, allocations: 1.84 MB / 3.45 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/10.17, allocations: 8.594 kB / 3.45 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/10.17, allocations: 408.6 kB / 3.451 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/10.17, allocations: 1.164 MB / 3.452 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/10.17, allocations: 72.31 kB / 3.452 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/10.18, allocations: 105.8 kB / 3.452 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/10.18, allocations: 1.107 MB / 3.453 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/10.18, allocations: 0 / 3.453 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/10.18, allocations: 43.84 kB / 3.453 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/10.18, allocations: 33.03 kB / 3.453 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/10.18, allocations: 1.032 MB / 3.454 GB, free: 59.97 MB / 0.5261 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.006905/10.19, allocations: 4.229 MB / 3.458 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/10.19, allocations: 1.209 MB / 3.46 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/10.19, allocations: 121.9 kB / 3.46 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/10.19, allocations: 48.41 kB / 3.46 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 3.696e-06/10.19, allocations: 0 / 3.46 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.003098/10.19, allocations: 1.153 MB / 3.461 GB, free: 57.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/10.19, allocations: 55.75 kB / 3.461 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/10.19, allocations: 0.8126 MB / 3.462 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/10.19, allocations: 39.55 kB / 3.462 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/10.19, allocations: 0.5318 MB / 3.462 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/10.2, allocations: 222.9 kB / 3.463 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/10.2, allocations: 14.91 kB / 3.463 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/10.2, allocations: 334.6 kB / 3.463 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/10.2, allocations: 308.4 kB / 3.463 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/10.2, allocations: 442.3 kB / 3.464 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/10.2, allocations: 358.4 kB / 3.464 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/10.2, allocations: 3.875 kB / 3.464 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001666/10.2, allocations: 0.8883 MB / 3.465 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/10.2, allocations: 0.7089 MB / 3.465 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/10.2, allocations: 0 / 3.465 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/10.2, allocations: 9.578 kB / 3.465 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/10.2, allocations: 171.9 kB / 3.466 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/10.2, allocations: 10.12 kB / 3.466 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/10.2, allocations: 151.6 kB / 3.466 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/10.2, allocations: 21.69 kB / 3.466 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/10.2, allocations: 3.594 kB / 3.466 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/10.2, allocations: 0.7243 MB / 3.467 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/10.2, allocations: 3.875 kB / 3.467 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/10.2, allocations: 3.938 kB / 3.467 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/10.2, allocations: 163.1 kB / 3.467 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/10.2, allocations: 3.5 kB / 3.467 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/10.2, allocations: 144.2 kB / 3.467 GB, free: 55.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/10.2, allocations: 21.66 kB / 3.467 GB, free: 55.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009493/10.21, allocations: 416.6 kB / 3.467 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/10.21, allocations: 115.9 kB / 3.467 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/10.21, allocations: 0.8525 MB / 3.468 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/10.21, allocations: 3.844 kB / 3.468 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/10.21, allocations: 0 / 3.468 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/10.21, allocations: 0.9944 MB / 3.469 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/10.21, allocations: 2.343 MB / 3.471 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/10.21, allocations: 2.812 kB / 3.471 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/10.21, allocations: 173.1 kB / 3.472 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/10.21, allocations: 9.281 kB / 3.472 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/10.21, allocations: 20.64 kB / 3.472 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/10.21, allocations: 3.438 kB / 3.472 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/10.21, allocations: 3.938 kB / 3.472 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/10.22, allocations: 1.564 MB / 3.473 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/10.22, allocations: 290.9 kB / 3.473 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/10.22, allocations: 22.89 kB / 3.473 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/10.22, allocations: 109.5 kB / 3.474 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/10.22, allocations: 60.53 kB / 3.474 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/10.22, allocations: 37.03 kB / 3.474 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008556/10.22, allocations: 0.6408 MB / 3.474 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/10.22, allocations: 0 / 3.474 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002866/10.22, allocations: 0.8273 MB / 3.475 GB, free: 53.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004275/10.23, allocations: 2.305 MB / 3.477 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002447/10.23, allocations: 1.125 MB / 3.478 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/10.23, allocations: 0 / 3.478 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00073/10.23, allocations: 393.2 kB / 3.479 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/10.23, allocations: 0.6631 MB / 3.479 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/10.24, allocations: 2.816 MB / 3.482 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/10.24, allocations: 1.191 MB / 3.483 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001753/10.24, allocations: 319.6 kB / 3.484 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/10.24, allocations: 98.56 kB / 3.484 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/10.24, allocations: 0 / 3.484 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.08002/10.32, allocations: 48.5 MB / 3.531 GB, free: 47.96 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)