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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002981/0.002982, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.854/0.854, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.502/1.502, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0009083/0.0009083, allocations: 97.88 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.516e-05, allocations: 4 kB / 0.5534 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4856, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.749/5.235, allocations: 1.89 GB / 2.524 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/5.235, allocations: 87.95 kB / 2.524 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.662/8.897, allocations: 0.9188 GB / 3.443 GB, free: 10.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.927e-06/8.897, allocations: 0 / 3.443 GB, free: 10.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002344/8.897, allocations: 39.92 kB / 3.443 GB, free: 10.17 MB / 0.698 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.005542/8.903, allocations: 1.528 MB / 3.444 GB, free: 8.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/8.903, allocations: 16.03 kB / 3.444 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/8.906, allocations: 417.9 kB / 3.445 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/8.91, allocations: 1.074 MB / 3.446 GB, free: 7.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/8.91, allocations: 24 kB / 3.446 GB, free: 7.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/8.91, allocations: 52 kB / 3.446 GB, free: 6.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/8.911, allocations: 0.6717 MB / 3.447 GB, free: 6.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/8.912, allocations: 0.687 MB / 3.447 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/8.912, allocations: 0 / 3.447 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/8.912, allocations: 0 / 3.447 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/8.912, allocations: 29.94 kB / 3.447 GB, free: 5.586 MB / 0.698 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.005262/8.918, allocations: 3.491 MB / 3.451 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/8.919, allocations: 1.045 MB / 3.452 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/8.92, allocations: 330.4 kB / 3.452 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6698/9.59, allocations: 395.3 kB / 3.452 GB, free: 94.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/9.59, allocations: 40.28 kB / 3.452 GB, free: 94.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 5.199e-06/9.59, allocations: 3.75 kB / 3.452 GB, free: 94.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002687/9.592, allocations: 0.7191 MB / 3.453 GB, free: 94.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/9.593, allocations: 60.47 kB / 3.453 GB, free: 94.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/9.594, allocations: 0.5983 MB / 3.454 GB, free: 94.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/9.594, allocations: 26.95 kB / 3.454 GB, free: 93.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/9.594, allocations: 488.3 kB / 3.454 GB, free: 93.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/9.594, allocations: 209.9 kB / 3.454 GB, free: 93.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/9.595, allocations: 0 / 3.454 GB, free: 93.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/9.595, allocations: 326.1 kB / 3.455 GB, free: 93.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/9.595, allocations: 216.7 kB / 3.455 GB, free: 93.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/9.596, allocations: 359.6 kB / 3.455 GB, free: 93.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/9.596, allocations: 346.1 kB / 3.456 GB, free: 93.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/9.596, allocations: 0 / 3.456 GB, free: 93.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001713/9.598, allocations: 0.7204 MB / 3.456 GB, free: 93.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/9.598, allocations: 454.3 kB / 3.457 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/9.598, allocations: 1.375 kB / 3.457 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/9.598, allocations: 4.188 kB / 3.457 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/9.599, allocations: 133.5 kB / 3.457 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/9.599, allocations: 7.453 kB / 3.457 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/9.6, allocations: 112.1 kB / 3.457 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/9.6, allocations: 27.27 kB / 3.457 GB, free: 92.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/9.6, allocations: 5.562 kB / 3.457 GB, free: 92.74 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001463/9.602, allocations: 0.5806 MB / 3.458 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/9.602, allocations: 1.156 kB / 3.458 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/9.602, allocations: 3.594 kB / 3.458 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/9.603, allocations: 139.1 kB / 3.458 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/9.603, allocations: 7.625 kB / 3.458 GB, free: 92.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/9.604, allocations: 105.8 kB / 3.458 GB, free: 92.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/9.604, allocations: 27.31 kB / 3.458 GB, free: 92.72 MB / 0.698 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.0002228/9.604, allocations: 112.6 kB / 3.458 GB, free: 92.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/9.604, allocations: 103.6 kB / 3.458 GB, free: 92.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/9.606, allocations: 0.7355 MB / 3.459 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/9.606, allocations: 9.031 kB / 3.459 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/9.606, allocations: 4.344 kB / 3.459 GB, free: 92.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/9.607, allocations: 0.9144 MB / 3.46 GB, free: 92.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/9.611, allocations: 2.093 MB / 3.462 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/9.611, allocations: 3.719 kB / 3.462 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/9.612, allocations: 155 kB / 3.462 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/9.612, allocations: 3.812 kB / 3.462 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/9.612, allocations: 21.77 kB / 3.462 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/9.612, allocations: 14.72 kB / 3.462 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/9.612, allocations: 3.75 kB / 3.462 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/9.614, allocations: 1.33 MB / 3.463 GB, free: 90.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/9.614, allocations: 256.5 kB / 3.463 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/9.615, allocations: 7.344 kB / 3.463 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/9.615, allocations: 114.7 kB / 3.464 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/9.616, allocations: 53.84 kB / 3.464 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/9.616, allocations: 28.88 kB / 3.464 GB, free: 90.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006883/9.616, allocations: 472.3 kB / 3.464 GB, free: 90.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/9.616, allocations: 0 / 3.464 GB, free: 90.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002441/9.619, allocations: 0.6852 MB / 3.465 GB, free: 90.65 MB / 0.698 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.004466/9.623, allocations: 2.576 MB / 3.467 GB, free: 89.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001785/9.625, allocations: 0.8579 MB / 3.468 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/9.625, allocations: 2.5 kB / 3.468 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/9.626, allocations: 301.9 kB / 3.468 GB, free: 89.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/9.629, allocations: 0.6132 MB / 3.469 GB, free: 89.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/9.632, allocations: 1.679 MB / 3.471 GB, free: 89.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/9.633, allocations: 1.151 MB / 3.472 GB, free: 88.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001526/9.634, allocations: 350.2 kB / 3.472 GB, free: 88.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/9.635, allocations: 67.12 kB / 3.472 GB, free: 88.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/9.635, allocations: 1.875 kB / 3.472 GB, free: 88.57 MB / 0.698 GB Notification: Performance of Templates: time 0.05815/9.693, allocations: 32.13 MB / 3.504 GB, free: 87.84 MB / 0.698 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)