Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 130.7 MB / 138.7 MB, free: 3.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008459/0.000846, allocations: 91.06 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.522, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.858/5.38, allocations: 1.89 GB / 2.518 GB, free: 23.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.381, allocations: 89.12 kB / 2.518 GB, free: 23.21 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.026/9.406, allocations: 0.9188 GB / 3.437 GB, free: 95.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/9.406, allocations: 0 / 3.437 GB, free: 95.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002235/9.407, allocations: 42.78 kB / 3.437 GB, free: 95.27 MB / 0.6823 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.005308/9.412, allocations: 1.53 MB / 3.438 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/9.412, allocations: 6.625 kB / 3.438 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/9.415, allocations: 423.2 kB / 3.439 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/9.417, allocations: 1.066 MB / 3.44 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/9.417, allocations: 27.03 kB / 3.44 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/9.417, allocations: 52.34 kB / 3.44 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/9.419, allocations: 0.6854 MB / 3.441 GB, free: 94.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/9.42, allocations: 0.6822 MB / 3.441 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/9.42, allocations: 0 / 3.441 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/9.42, allocations: 0 / 3.441 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/9.42, allocations: 27.72 kB / 3.441 GB, free: 94.09 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004196/9.424, allocations: 3.495 MB / 3.445 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/9.425, allocations: 1.053 MB / 3.446 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/9.426, allocations: 324.2 kB / 3.446 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/9.426, allocations: 399.8 kB / 3.446 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/9.426, allocations: 42.53 kB / 3.446 GB, free: 91.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.796e-06/9.426, allocations: 6.719 kB / 3.446 GB, free: 91.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001534/9.428, allocations: 0.7153 MB / 3.447 GB, free: 91.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/9.428, allocations: 59.31 kB / 3.447 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/9.429, allocations: 0.5946 MB / 3.448 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/9.429, allocations: 29.33 kB / 3.448 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/9.429, allocations: 486.8 kB / 3.448 GB, free: 90.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/9.429, allocations: 206.3 kB / 3.449 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/9.429, allocations: 0 / 3.449 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/9.429, allocations: 337 kB / 3.449 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/9.429, allocations: 214.8 kB / 3.449 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/9.43, allocations: 362.3 kB / 3.449 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/9.43, allocations: 341.7 kB / 3.45 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/9.43, allocations: 3.953 kB / 3.45 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001081/9.432, allocations: 0.7175 MB / 3.45 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/9.432, allocations: 453.7 kB / 3.451 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/9.432, allocations: 0 / 3.451 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/9.432, allocations: 6.812 kB / 3.451 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/9.432, allocations: 139.2 kB / 3.451 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/9.432, allocations: 7.375 kB / 3.451 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/9.433, allocations: 104.1 kB / 3.451 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/9.433, allocations: 26.77 kB / 3.451 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/9.433, allocations: 4.75 kB / 3.451 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009569/9.434, allocations: 0.587 MB / 3.452 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/9.434, allocations: 3.094 kB / 3.452 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/9.434, allocations: 5.109 kB / 3.452 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/9.435, allocations: 124.9 kB / 3.452 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/9.435, allocations: 5.719 kB / 3.452 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/9.436, allocations: 119.6 kB / 3.452 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/9.436, allocations: 23.34 kB / 3.452 GB, free: 89.76 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/9.436, allocations: 117 kB / 3.452 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/9.436, allocations: 98.94 kB / 3.452 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/9.438, allocations: 0.7343 MB / 3.453 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/9.438, allocations: 6.344 kB / 3.453 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/9.438, allocations: 0 / 3.453 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009972/9.439, allocations: 0.9174 MB / 3.454 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/9.442, allocations: 2.093 MB / 3.456 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/9.442, allocations: 5.188 kB / 3.456 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/9.442, allocations: 156 kB / 3.456 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/9.442, allocations: 6.938 kB / 3.456 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/9.443, allocations: 11.84 kB / 3.456 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/9.443, allocations: 10.8 kB / 3.456 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/9.443, allocations: 2.844 kB / 3.456 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/9.444, allocations: 1.336 MB / 3.457 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/9.445, allocations: 255.3 kB / 3.458 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/9.445, allocations: 6.25 kB / 3.458 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/9.446, allocations: 115.5 kB / 3.458 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/9.446, allocations: 51.52 kB / 3.458 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/9.446, allocations: 29.48 kB / 3.458 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005449/9.446, allocations: 474.6 kB / 3.458 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/9.446, allocations: 0 / 3.458 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001953/9.448, allocations: 0.6804 MB / 3.459 GB, free: 87.49 MB / 0.6823 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 () * 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.003567/9.452, allocations: 2.576 MB / 3.461 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0014/9.453, allocations: 0.8629 MB / 3.462 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/9.453, allocations: 0 / 3.462 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/9.454, allocations: 304.3 kB / 3.463 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/9.457, allocations: 0.6182 MB / 3.463 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/9.46, allocations: 1.683 MB / 3.465 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/9.461, allocations: 1.154 MB / 3.466 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001551/9.463, allocations: 352.9 kB / 3.466 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/9.463, allocations: 69.78 kB / 3.466 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.054e-06/9.463, allocations: 0 / 3.466 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.04915/9.512, allocations: 32.13 MB / 3.498 GB, free: 58.95 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)