Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.88/0.88, allocations: 133.4 MB / 146.7 MB, free: 10.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 400.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 97.77 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.754e-05, allocations: 2.875 kB / 0.56 GB, free: 88.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.158, allocations: 82.31 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6147/0.7728, allocations: 110.4 MB / 0.7482 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.7731, allocations: 67.22 kB / 0.7483 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00151/0.7746, allocations: 489.6 kB / 0.7488 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7746, allocations: 0 / 0.7488 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.7746, allocations: 0 / 0.7488 GB, free: 27.67 MB / 0.5105 GB 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.0002631/0.7749, allocations: 315 kB / 0.7491 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7749, allocations: 7.656 kB / 0.7491 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.775, allocations: 10.33 kB / 0.7491 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.7753, allocations: 177.2 kB / 0.7493 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7753, allocations: 3.875 kB / 0.7493 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.7753, allocations: 6.75 kB / 0.7493 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/0.7754, allocations: 29.67 kB / 0.7493 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7754, allocations: 0 / 0.7493 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.7754, allocations: 0 / 0.7493 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.7755, allocations: 2.812 kB / 0.7493 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.7755, allocations: 3.844 kB / 0.7493 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.7757, allocations: 165.7 kB / 0.7495 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.7757, allocations: 24.66 kB / 0.7495 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.7757, allocations: 11.11 kB / 0.7495 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.7758, allocations: 0 / 0.7495 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7758, allocations: 34.38 kB / 0.7495 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.7758, allocations: 0 / 0.7495 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.7759, allocations: 40.2 kB / 0.7496 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.776, allocations: 55.44 kB / 0.7496 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.7761, allocations: 100.5 kB / 0.7497 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.7761, allocations: 25.7 kB / 0.7497 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.7762, allocations: 84.11 kB / 0.7498 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.7762, allocations: 7.656 kB / 0.7498 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7762, allocations: 0 / 0.7498 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7763, allocations: 313.6 kB / 0.7501 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.7764, allocations: 3.812 kB / 0.7501 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.7764, allocations: 24.56 kB / 0.7501 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.7764, allocations: 11.62 kB / 0.7502 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7764, allocations: 0 / 0.7502 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.365e-05/0.7765, allocations: 47.09 kB / 0.7502 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7765, allocations: 7.719 kB / 0.7502 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7765, allocations: 0 / 0.7502 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7765, allocations: 0 / 0.7502 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.7766, allocations: 11.94 kB / 0.7502 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.7766, allocations: 0 / 0.7502 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.7766, allocations: 0 / 0.7502 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.7767, allocations: 10.83 kB / 0.7502 GB, free: 26.13 MB / 0.5105 GB 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 () * 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.64e-05/0.7767, allocations: 104.9 kB / 0.7503 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.7767, allocations: 11.62 kB / 0.7503 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.7769, allocations: 43.44 kB / 0.7504 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.7769, allocations: 2.953 kB / 0.7504 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7769, allocations: 0 / 0.7504 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7769, allocations: 7.906 kB / 0.7504 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/0.777, allocations: 155 kB / 0.7505 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.777, allocations: 0 / 0.7505 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.777, allocations: 7.781 kB / 0.7505 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7771, allocations: 3.953 kB / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7771, allocations: 2.812 kB / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7771, allocations: 0 / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7771, allocations: 0 / 0.7506 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.7772, allocations: 83.94 kB / 0.7506 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.7772, allocations: 79.97 kB / 0.7507 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.7773, allocations: 3.953 kB / 0.7507 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.7773, allocations: 3.906 kB / 0.7507 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.7773, allocations: 0 / 0.7507 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.7773, allocations: 0 / 0.7507 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.7774, allocations: 88.84 kB / 0.7508 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7774, allocations: 0 / 0.7508 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001772/0.7776, allocations: 3.812 kB / 0.7508 GB, free: 25.54 MB / 0.5105 GB 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 () * 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.0001258/0.7777, allocations: 106.7 kB / 0.7509 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.7778, allocations: 17.88 kB / 0.7509 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7778, allocations: 0 / 0.7509 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.7778, allocations: 6.781 kB / 0.7509 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.7779, allocations: 6.125 kB / 0.7509 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.7781, allocations: 71.59 kB / 0.751 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.7784, allocations: 0.6895 MB / 0.7517 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.7784, allocations: 2.766 kB / 0.7517 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.7784, allocations: 11.31 kB / 0.7517 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7784, allocations: 0 / 0.7517 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.001905/0.7803, allocations: 302.5 kB / 0.752 GB, free: 24.61 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)