Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00115/0.00115, allocations: 169.2 kB / 7.64 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.7508/0.7508, allocations: 130.7 MB / 138.7 MB, free: 3.547 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.447/1.447, allocations: 221.5 MB / 391.8 MB, free: 14.19 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.0009328/0.000933, allocations: 94.64 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5135, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.6534, allocations: 109.5 MB / 0.7351 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.6536, allocations: 63.97 kB / 0.7352 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001069/0.6547, allocations: 490.7 kB / 0.7356 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6547, allocations: 0 / 0.7356 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6548, allocations: 0 / 0.7356 GB, free: 0.7031 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.0002681/0.655, allocations: 314.6 kB / 0.7359 GB, free: 360 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6551, allocations: 12.02 kB / 0.736 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.6551, allocations: 3.906 kB / 0.736 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.6554, allocations: 175 kB / 0.7361 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.6554, allocations: 0 / 0.7361 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.6554, allocations: 4 kB / 0.7361 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.203e-05/0.6554, allocations: 7.938 kB / 0.7361 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.6555, allocations: 33.69 kB / 0.7362 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6555, allocations: 0 / 0.7362 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.6555, allocations: 0.9375 kB / 0.7362 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6556, allocations: 0 / 0.7362 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.6557, allocations: 142.1 kB / 0.7363 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.6558, allocations: 18.61 kB / 0.7363 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.6558, allocations: 16.2 kB / 0.7363 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.6558, allocations: 3.984 kB / 0.7363 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6559, allocations: 34.56 kB / 0.7364 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6559, allocations: 0 / 0.7364 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.656, allocations: 37.69 kB / 0.7364 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.656, allocations: 51.41 kB / 0.7365 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.6561, allocations: 108.9 kB / 0.7366 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.6562, allocations: 25.7 kB / 0.7366 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.6562, allocations: 88.11 kB / 0.7367 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.6562, allocations: 7.906 kB / 0.7367 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.6562, allocations: 0 / 0.7367 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6564, allocations: 314.8 kB / 0.737 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.6564, allocations: 7.984 kB / 0.737 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.6564, allocations: 13.72 kB / 0.737 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.724e-05/0.6564, allocations: 4.062 kB / 0.737 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6564, allocations: 4 kB / 0.737 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.215e-05/0.6565, allocations: 41.64 kB / 0.737 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6565, allocations: 8.625 kB / 0.7371 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6565, allocations: 3.938 kB / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6566, allocations: 0 / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.6566, allocations: 7.984 kB / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6566, allocations: 0 / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.6567, allocations: 0 / 0.7371 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6567, allocations: 4 kB / 0.7371 GB, free: 15.04 MB / 0.5261 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.923e-05/0.6568, allocations: 113 kB / 0.7372 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.6568, allocations: 3.953 kB / 0.7372 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.6569, allocations: 45.44 kB / 0.7372 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6569, allocations: 3.984 kB / 0.7372 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6569, allocations: 3.938 kB / 0.7372 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6569, allocations: 0 / 0.7372 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.657, allocations: 134.2 kB / 0.7374 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.657, allocations: 0 / 0.7374 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.6571, allocations: 7.969 kB / 0.7374 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6571, allocations: 4 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6571, allocations: 3.953 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6571, allocations: 4 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6571, allocations: 0 / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.6572, allocations: 77.02 kB / 0.7375 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.6573, allocations: 77.11 kB / 0.7375 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.6573, allocations: 0 / 0.7375 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.6573, allocations: 8.047 kB / 0.7375 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.6574, allocations: 4.031 kB / 0.7375 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.6574, allocations: 0 / 0.7375 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.6574, allocations: 93.64 kB / 0.7376 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 0 / 0.7376 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001875/0.6576, allocations: 4 kB / 0.7376 GB, free: 14.38 MB / 0.5261 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.0001143/0.6577, allocations: 96.89 kB / 0.7377 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.6578, allocations: 15.98 kB / 0.7377 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6578, allocations: 8 kB / 0.7377 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.6578, allocations: 12 kB / 0.7378 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.658, allocations: 0 / 0.7378 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.6582, allocations: 66.02 kB / 0.7378 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6585, allocations: 0.6807 MB / 0.7385 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.6585, allocations: 4 kB / 0.7385 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.6585, allocations: 11.38 kB / 0.7385 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6585, allocations: 0 / 0.7385 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.001849/0.6604, allocations: 273.8 kB / 0.7388 GB, free: 13.17 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)