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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003681/0.003681, allocations: 184.5 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7108/0.7108, allocations: 130.6 MB / 138.5 MB, free: 2.105 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.691/1.691, allocations: 221.3 MB / 391.4 MB, free: 12.98 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.001015/0.001015, allocations: 101.9 kB / 473.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.365e-06, allocations: 0 / 0.5479 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 81.57 MB / 0.6276 GB, free: 18.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.6543, allocations: 109.4 MB / 0.7344 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.6546, allocations: 72.41 kB / 0.7345 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0009501/0.6555, allocations: 167 kB / 0.7347 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6556, allocations: 0 / 0.7347 GB, free: 11.23 MB / 0.4948 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.0003347/0.6559, allocations: 313 kB / 0.735 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.656, allocations: 8.375 kB / 0.735 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.656, allocations: 4.891 kB / 0.735 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.6563, allocations: 178 kB / 0.7352 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6563, allocations: 3.812 kB / 0.7352 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.6563, allocations: 3.906 kB / 0.7352 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.566e-05/0.6563, allocations: 11.14 kB / 0.7352 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.6564, allocations: 27.86 kB / 0.7352 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6564, allocations: 4.484 kB / 0.7352 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6564, allocations: 0 / 0.7352 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6565, allocations: 0 / 0.7352 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.6566, allocations: 133.9 kB / 0.7353 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.6566, allocations: 19.66 kB / 0.7353 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.6567, allocations: 13.31 kB / 0.7354 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.6567, allocations: 3.938 kB / 0.7354 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6567, allocations: 31.27 kB / 0.7354 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.6567, allocations: 0 / 0.7354 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.6569, allocations: 40.39 kB / 0.7354 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.6569, allocations: 51.97 kB / 0.7355 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.657, allocations: 108.4 kB / 0.7356 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.657, allocations: 25.7 kB / 0.7356 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.6571, allocations: 88.45 kB / 0.7357 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.6571, allocations: 3.906 kB / 0.7357 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.6571, allocations: 0 / 0.7357 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6572, allocations: 319.9 kB / 0.736 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.6573, allocations: 0.7031 kB / 0.736 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.6573, allocations: 15.14 kB / 0.736 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.6573, allocations: 13.44 kB / 0.736 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6573, allocations: 0 / 0.736 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.263e-05/0.6574, allocations: 45.67 kB / 0.7361 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6574, allocations: 3.875 kB / 0.7361 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6574, allocations: 0.5469 kB / 0.7361 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6574, allocations: 0 / 0.7361 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.6575, allocations: 5.266 kB / 0.7361 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6575, allocations: 3.906 kB / 0.7361 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.6576, allocations: 6.094 kB / 0.7361 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.6576, allocations: 2.438 kB / 0.7361 GB, free: 25.73 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 7.038e-05/0.6577, allocations: 115.7 kB / 0.7362 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.6577, allocations: 4.203 kB / 0.7362 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.6578, allocations: 49.88 kB / 0.7363 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6578, allocations: 0 / 0.7363 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6578, allocations: 0 / 0.7363 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6578, allocations: 3.812 kB / 0.7363 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.6579, allocations: 133.2 kB / 0.7364 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6579, allocations: 3.984 kB / 0.7364 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.658, allocations: 9.344 kB / 0.7364 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.658, allocations: 0 / 0.7364 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.658, allocations: 0 / 0.7364 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.658, allocations: 3.906 kB / 0.7364 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.658, allocations: 0.7969 kB / 0.7364 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001065/0.6581, allocations: 77.5 kB / 0.7365 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.6582, allocations: 83.2 kB / 0.7366 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6582, allocations: 0 / 0.7366 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.6582, allocations: 9.516 kB / 0.7366 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.6582, allocations: 0.7031 kB / 0.7366 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.6582, allocations: 0 / 0.7366 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.423e-05/0.6583, allocations: 88.8 kB / 0.7367 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001905/0.6585, allocations: 4.5 kB / 0.7367 GB, free: 25.17 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.0001232/0.6586, allocations: 99.84 kB / 0.7368 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.6587, allocations: 13.27 kB / 0.7368 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6587, allocations: 8.062 kB / 0.7368 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.6587, allocations: 13.02 kB / 0.7368 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.6588, allocations: 7.844 kB / 0.7368 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.6591, allocations: 71.05 kB / 0.7369 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.6594, allocations: 0.6887 MB / 0.7375 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.6594, allocations: 0 / 0.7375 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.001862/0.6612, allocations: 277.6 kB / 0.7378 GB, free: 24.25 MB / 0.5105 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)