Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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.002539/0.002539, allocations: 182.1 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7144/0.7144, allocations: 130.6 MB / 138.5 MB, free: 2.188 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.541/1.541, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009157/0.0009158, allocations: 104.4 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.008e-05, allocations: 0 / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.466/5.66, allocations: 1.933 GB / 2.56 GB, free: 195.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/5.66, allocations: 87.95 kB / 2.56 GB, free: 195.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.355/8.015, allocations: 0.6277 GB / 3.188 GB, free: 54.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002842/8.015, allocations: 43.61 kB / 3.188 GB, free: 54.43 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.006264/8.022, allocations: 1.573 MB / 3.189 GB, free: 52.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/8.022, allocations: 15.95 kB / 3.189 GB, free: 52.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/8.025, allocations: 393.8 kB / 3.19 GB, free: 52.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/8.029, allocations: 1.23 MB / 3.191 GB, free: 51.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/8.03, allocations: 32 kB / 3.191 GB, free: 51.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/8.03, allocations: 67.98 kB / 3.191 GB, free: 51.08 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001889/8.032, allocations: 0.6991 MB / 3.192 GB, free: 50.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/8.034, allocations: 0.9535 MB / 3.193 GB, free: 49.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/8.034, allocations: 0 / 3.193 GB, free: 49.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/8.034, allocations: 4 kB / 3.193 GB, free: 49.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/8.034, allocations: 34 kB / 3.193 GB, free: 49.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006755/8.041, allocations: 5.052 MB / 3.198 GB, free: 43.99 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/8.042, allocations: 0.6362 MB / 3.198 GB, free: 43.35 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/8.042, allocations: 318.8 kB / 3.199 GB, free: 43.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/8.043, allocations: 314.5 kB / 3.199 GB, free: 42.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/8.043, allocations: 39.97 kB / 3.199 GB, free: 42.63 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/8.043, allocations: 4 kB / 3.199 GB, free: 42.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.001887/8.045, allocations: 0.7562 MB / 3.2 GB, free: 41.86 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/8.045, allocations: 162.9 kB / 3.2 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/8.046, allocations: 0.5923 MB / 3.2 GB, free: 41.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/8.046, allocations: 25.7 kB / 3.201 GB, free: 41.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/8.046, allocations: 410.2 kB / 3.201 GB, free: 40.61 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/8.046, allocations: 248.3 kB / 3.201 GB, free: 40.37 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/8.046, allocations: 4 kB / 3.201 GB, free: 40.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/8.046, allocations: 334 kB / 3.201 GB, free: 40.03 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/8.047, allocations: 225.5 kB / 3.202 GB, free: 39.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/8.047, allocations: 456.5 kB / 3.202 GB, free: 39.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/8.048, allocations: 370.9 kB / 3.202 GB, free: 38.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/8.048, allocations: 0 / 3.202 GB, free: 38.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001407/8.049, allocations: 0.8109 MB / 3.203 GB, free: 38.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003837/8.05, allocations: 1.672 MB / 3.205 GB, free: 36.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/8.05, allocations: 4 kB / 3.205 GB, free: 36.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/8.05, allocations: 12 kB / 3.205 GB, free: 36.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/8.051, allocations: 271.6 kB / 3.205 GB, free: 36.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/8.052, allocations: 1.349 MB / 3.206 GB, free: 34.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/8.054, allocations: 103.5 kB / 3.207 GB, free: 34.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/8.054, allocations: 32 kB / 3.207 GB, free: 34.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/8.054, allocations: 4 kB / 3.207 GB, free: 34.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/8.055, allocations: 0.6776 MB / 3.207 GB, free: 33.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/8.055, allocations: 4 kB / 3.207 GB, free: 33.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/8.055, allocations: 8 kB / 3.207 GB, free: 33.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/8.056, allocations: 264.1 kB / 3.208 GB, free: 33.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/8.057, allocations: 1.352 MB / 3.209 GB, free: 31.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/8.058, allocations: 95.56 kB / 3.209 GB, free: 31.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/8.059, allocations: 35.98 kB / 3.209 GB, free: 31.86 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002165/8.059, allocations: 124.7 kB / 3.209 GB, free: 31.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/8.059, allocations: 106.8 kB / 3.209 GB, free: 31.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/8.061, allocations: 0.8073 MB / 3.21 GB, free: 30.81 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/8.061, allocations: 8 kB / 3.21 GB, free: 30.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/8.061, allocations: 0 / 3.21 GB, free: 30.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/8.062, allocations: 0.7432 MB / 3.211 GB, free: 30.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/8.066, allocations: 1.875 MB / 3.213 GB, free: 28.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/8.066, allocations: 4.219 kB / 3.213 GB, free: 28.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/8.067, allocations: 159.8 kB / 3.213 GB, free: 27.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/8.067, allocations: 44.83 kB / 3.213 GB, free: 27.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/8.067, allocations: 15.92 kB / 3.213 GB, free: 27.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/8.068, allocations: 1.317 MB / 3.214 GB, free: 26.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/8.068, allocations: 7.984 kB / 3.214 GB, free: 26.43 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002051/8.07, allocations: 1.38 MB / 3.215 GB, free: 24.96 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/8.071, allocations: 247.7 kB / 3.216 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/8.071, allocations: 4 kB / 3.216 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/8.072, allocations: 63.84 kB / 3.216 GB, free: 24.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/8.072, allocations: 44.59 kB / 3.216 GB, free: 24.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/8.072, allocations: 23.98 kB / 3.216 GB, free: 24.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007944/8.073, allocations: 464.1 kB / 3.216 GB, free: 24.11 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003108/8.076, allocations: 0.6543 MB / 3.217 GB, free: 23.45 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004189/8.081, allocations: 1.994 MB / 3.219 GB, free: 21.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003834/8.084, allocations: 1.18 MB / 3.22 GB, free: 20.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/8.084, allocations: 0 / 3.22 GB, free: 20.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008257/8.085, allocations: 428.1 kB / 3.22 GB, free: 19.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/8.088, allocations: 412.9 kB / 3.221 GB, free: 19.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/8.093, allocations: 1.678 MB / 3.222 GB, free: 17.85 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/8.095, allocations: 1.255 MB / 3.224 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of SimCode: time 1.833e-06/8.095, allocations: 0 / 3.224 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of Templates: time 0.05211/8.147, allocations: 29.91 MB / 3.253 GB, free: 2.848 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)