Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") translateModel(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3257/0.3257, allocations: 55.01 MB / 69.95 MB, free: 8.473 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.001217/0.001217, allocations: 194.1 kB / 83.98 MB, free: 10.71 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.807/1.807, allocations: 194.4 MB / 292.3 MB, free: 3.609 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.001716/0.001716, allocations: 121.1 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 19.98 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5823, allocations: 84.75 MB / 0.5481 GB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5826, allocations: 75.56 kB / 0.5482 GB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001121/0.5837, allocations: 492.3 kB / 0.5487 GB, free: 4.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5837, allocations: 0 / 0.5487 GB, free: 4.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.5837, allocations: 0 / 0.5487 GB, free: 4.066 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002517/0.584, allocations: 323.3 kB / 0.549 GB, free: 3.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5841, allocations: 12.03 kB / 0.549 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.5841, allocations: 0.875 kB / 0.549 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.5843, allocations: 178.7 kB / 0.5491 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.5843, allocations: 3.094 kB / 0.5491 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5843, allocations: 3.906 kB / 0.5491 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/0.5844, allocations: 33.66 kB / 0.5492 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5844, allocations: 0 / 0.5492 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5844, allocations: 0 / 0.5492 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5845, allocations: 0 / 0.5492 GB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.5845, allocations: 15.64 kB / 0.5492 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.5846, allocations: 156.6 kB / 0.5493 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.5847, allocations: 25.83 kB / 0.5494 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.5847, allocations: 0 / 0.5494 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.5847, allocations: 30.56 kB / 0.5494 GB, free: 3.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5847, allocations: 0 / 0.5494 GB, free: 3.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001382/0.5849, allocations: 49.64 kB / 0.5494 GB, free: 3.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.5849, allocations: 55.53 kB / 0.5495 GB, free: 3.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.585, allocations: 100.8 kB / 0.5496 GB, free: 2.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.433e-06/0.585, allocations: 25.7 kB / 0.5496 GB, free: 2.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.585, allocations: 84.08 kB / 0.5497 GB, free: 2.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.585, allocations: 7.922 kB / 0.5497 GB, free: 2.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.585, allocations: 4 kB / 0.5497 GB, free: 2.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.5851, allocations: 310.8 kB / 0.55 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.5851, allocations: 7.438 kB / 0.55 GB, free: 2.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.5852, allocations: 21.7 kB / 0.55 GB, free: 2.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.5852, allocations: 4 kB / 0.55 GB, free: 2.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5852, allocations: 0 / 0.55 GB, free: 2.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.143e-05/0.5853, allocations: 52.84 kB / 0.5501 GB, free: 2.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5853, allocations: 4 kB / 0.5501 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5853, allocations: 0 / 0.5501 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5853, allocations: 0 / 0.5501 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.5854, allocations: 9 kB / 0.5501 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5854, allocations: 3.953 kB / 0.5501 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.5854, allocations: 4 kB / 0.5501 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5854, allocations: 3.984 kB / 0.5501 GB, free: 2.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.223e-05/0.5855, allocations: 109.8 kB / 0.5502 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.5855, allocations: 0 / 0.5502 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.5856, allocations: 52.39 kB / 0.5503 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5856, allocations: 4 kB / 0.5503 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5857, allocations: 4.031 kB / 0.5503 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5857, allocations: 7.891 kB / 0.5503 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/0.5858, allocations: 153.4 kB / 0.5504 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5858, allocations: 3.828 kB / 0.5504 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.5858, allocations: 7.984 kB / 0.5504 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5858, allocations: 0 / 0.5504 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.5859, allocations: 0 / 0.5504 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5859, allocations: 0 / 0.5504 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5859, allocations: 0 / 0.5504 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.586, allocations: 99.45 kB / 0.5505 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.586, allocations: 77.11 kB / 0.5506 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.5861, allocations: 0 / 0.5506 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.5861, allocations: 4.031 kB / 0.5506 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.5861, allocations: 0 / 0.5506 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.5861, allocations: 3.938 kB / 0.5506 GB, free: 1.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.5862, allocations: 90.83 kB / 0.5507 GB, free: 1.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5862, allocations: 0 / 0.5507 GB, free: 1.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.5863, allocations: 4 kB / 0.5507 GB, free: 1.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001207/0.5865, allocations: 106.7 kB / 0.5508 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.227e-05/0.5866, allocations: 15.98 kB / 0.5508 GB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5866, allocations: 0 / 0.5508 GB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.5866, allocations: 7.938 kB / 0.5508 GB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.5867, allocations: 6.016 kB / 0.5508 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.587, allocations: 120.5 kB / 0.551 GB, free: 1.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.5872, allocations: 0.6809 MB / 0.5516 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.85e-05/0.5872, allocations: 7.938 kB / 0.5516 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.5872, allocations: 7.438 kB / 0.5516 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5872, allocations: 0 / 0.5516 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of Templates: time 0.002098/0.5893, allocations: 292.2 kB / 0.5519 GB, free: 436 kB / 362.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe 2>&1)