Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") [: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.002174/0.002174, allocations: 174.3 kB / 7.458 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5951/0.5951, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.103/1.103, allocations: 221.4 MB / 395 MB, free: 10.11 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.0008081/0.0008083, allocations: 110.1 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.284e-06, allocations: 4 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 82.31 MB / 0.6332 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.554/2.657, allocations: 1.914 GB / 2.547 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/2.657, allocations: 87.95 kB / 2.547 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.823/6.48, allocations: 1.471 GB / 4.018 GB, free: 78.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.974e-05/6.48, allocations: 36.88 kB / 4.018 GB, free: 78.25 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003449/6.484, allocations: 1.911 MB / 4.02 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/6.484, allocations: 12.97 kB / 4.02 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/6.487, allocations: 0.5441 MB / 4.02 GB, free: 77.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/6.489, allocations: 1.238 MB / 4.021 GB, free: 76.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008046/6.49, allocations: 268 kB / 4.022 GB, free: 76.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/6.49, allocations: 64.84 kB / 4.022 GB, free: 76.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/6.491, allocations: 0.7251 MB / 4.023 GB, free: 76.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/6.492, allocations: 1.065 MB / 4.024 GB, free: 76.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/6.492, allocations: 6.375 kB / 4.024 GB, free: 76.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/6.492, allocations: 8.5 kB / 4.024 GB, free: 76.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/6.492, allocations: 49.03 kB / 4.024 GB, free: 76.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/6.498, allocations: 6.532 MB / 4.03 GB, free: 72.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/6.498, allocations: 468.1 kB / 4.03 GB, free: 72.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/6.499, allocations: 186.7 kB / 4.031 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/6.499, allocations: 371.7 kB / 4.031 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/6.499, allocations: 34.34 kB / 4.031 GB, free: 72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/6.499, allocations: 0 / 4.031 GB, free: 72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001107/6.5, allocations: 0.5174 MB / 4.032 GB, free: 71.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/6.5, allocations: 58.75 kB / 4.032 GB, free: 71.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/6.501, allocations: 0.8317 MB / 4.032 GB, free: 71.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/6.501, allocations: 29.05 kB / 4.032 GB, free: 71.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/6.501, allocations: 0.5171 MB / 4.033 GB, free: 71.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/6.501, allocations: 115.5 kB / 4.033 GB, free: 71.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/6.501, allocations: 0 / 4.033 GB, free: 71.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/6.501, allocations: 331.1 kB / 4.033 GB, free: 70.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/6.502, allocations: 191.6 kB / 4.034 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/6.502, allocations: 0.562 MB / 4.034 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/6.502, allocations: 310.1 kB / 4.034 GB, free: 70.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/6.502, allocations: 11.09 kB / 4.034 GB, free: 70.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001027/6.503, allocations: 0.7572 MB / 4.035 GB, free: 70.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005579/6.504, allocations: 4.087 MB / 4.039 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/6.504, allocations: 14.41 kB / 4.039 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/6.504, allocations: 17.72 kB / 4.039 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/6.505, allocations: 216.1 kB / 4.039 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/6.505, allocations: 22.94 kB / 4.039 GB, free: 66.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/6.506, allocations: 189.6 kB / 4.04 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/6.506, allocations: 47.94 kB / 4.04 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-06/6.506, allocations: 3.875 kB / 4.04 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008824/6.507, allocations: 0.6246 MB / 4.04 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/6.507, allocations: 10.5 kB / 4.04 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/6.507, allocations: 18.91 kB / 4.04 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/6.508, allocations: 210.5 kB / 4.04 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/6.508, allocations: 20.28 kB / 4.04 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/6.509, allocations: 150 kB / 4.041 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/6.509, allocations: 47.25 kB / 4.041 GB, free: 66.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001187/6.509, allocations: 137.7 kB / 4.041 GB, free: 65.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/6.509, allocations: 112.1 kB / 4.041 GB, free: 65.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/6.51, allocations: 0.498 MB / 4.041 GB, free: 65.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/6.51, allocations: 3.156 kB / 4.041 GB, free: 65.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/6.51, allocations: 3.156 kB / 4.041 GB, free: 65.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/6.51, allocations: 2.859 kB / 4.041 GB, free: 65.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/6.512, allocations: 1.683 MB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/6.512, allocations: 3.875 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/6.513, allocations: 114.9 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/6.513, allocations: 6.75 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/6.513, allocations: 3.844 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/6.513, allocations: 11.67 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/6.513, allocations: 6.219 kB / 4.043 GB, free: 65.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006824/6.513, allocations: 0.8428 MB / 4.044 GB, free: 64.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/6.514, allocations: 259.3 kB / 4.044 GB, free: 64.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/6.514, allocations: 9.016 kB / 4.044 GB, free: 64.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/6.515, allocations: 111.5 kB / 4.044 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/6.515, allocations: 38.19 kB / 4.044 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/6.515, allocations: 20.27 kB / 4.044 GB, free: 64.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000615/6.516, allocations: 0.6219 MB / 4.045 GB, free: 64.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002096/6.518, allocations: 0.8301 MB / 4.046 GB, free: 64.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.003189/6.521, allocations: 3.509 MB / 4.049 GB, free: 63.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001001/6.522, allocations: 0.82 MB / 4.05 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.522, allocations: 3.25 kB / 4.05 GB, free: 63.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/6.522, allocations: 184 kB / 4.05 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/6.524, allocations: 393.6 kB / 4.051 GB, free: 63.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/6.527, allocations: 1.674 MB / 4.052 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/6.528, allocations: 1.308 MB / 4.054 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/6.528, allocations: 3.094 kB / 4.054 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.04987/6.578, allocations: 36.51 MB / 4.089 GB, free: 58.4 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)