Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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.003475/0.003475, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6841/0.6841, allocations: 130.6 MB / 138.5 MB, free: 2.16 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.438/1.438, allocations: 221.3 MB / 391.4 MB, free: 13.07 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.0009824/0.0009825, allocations: 100.4 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.805e-06, allocations: 1.5 kB / 0.5479 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 81.57 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9057/1.036, allocations: 422.3 MB / 1.04 GB, free: 189.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.036, allocations: 90.95 kB / 1.04 GB, free: 189 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.9225/1.959, allocations: 335.9 MB / 1.368 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001679/1.959, allocations: 31.12 kB / 1.368 GB, free: 112.7 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003202/1.962, allocations: 1.331 MB / 1.369 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.962, allocations: 12.03 kB / 1.369 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005378/1.963, allocations: 138.4 kB / 1.37 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/1.965, allocations: 0.9714 MB / 1.37 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.965, allocations: 24 kB / 1.371 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.965, allocations: 55.98 kB / 1.371 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009724/1.966, allocations: 0.5194 MB / 1.371 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/1.967, allocations: 0.7185 MB / 1.372 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.967, allocations: 19.84 kB / 1.372 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.029e-05/1.967, allocations: 0 / 1.372 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/1.967, allocations: 23.94 kB / 1.372 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/1.971, allocations: 3.723 MB / 1.375 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/1.972, allocations: 387.3 kB / 1.376 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/1.972, allocations: 258.4 kB / 1.376 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/1.973, allocations: 1.246 MB / 1.377 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/1.973, allocations: 294.9 kB / 1.378 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 2.524e-06/1.973, allocations: 0 / 1.378 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.001573/1.975, allocations: 0.6319 MB / 1.378 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/1.975, allocations: 85.77 kB / 1.378 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007384/1.976, allocations: 0.6451 MB / 1.379 GB, free: 101 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/1.976, allocations: 29.7 kB / 1.379 GB, free: 101 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.976, allocations: 331.9 kB / 1.379 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/1.976, allocations: 212.8 kB / 1.379 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/1.976, allocations: 0 / 1.379 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.722e-05/1.976, allocations: 333.9 kB / 1.38 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.977, allocations: 177.3 kB / 1.38 GB, free: 99.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/1.977, allocations: 312.2 kB / 1.38 GB, free: 99.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/1.978, allocations: 267 kB / 1.38 GB, free: 99.35 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.978, allocations: 4 kB / 1.38 GB, free: 99.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001407/1.979, allocations: 0.6636 MB / 1.381 GB, free: 98.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/1.979, allocations: 0.8718 MB / 1.382 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.979, allocations: 7.984 kB / 1.382 GB, free: 97.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/1.98, allocations: 84.81 kB / 1.382 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.98, allocations: 119.8 kB / 1.382 GB, free: 97.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000605/1.981, allocations: 0.6888 MB / 1.383 GB, free: 96.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/1.982, allocations: 79.45 kB / 1.383 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/1.982, allocations: 28.06 kB / 1.383 GB, free: 96.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.982, allocations: 9.344 kB / 1.383 GB, free: 96.69 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/1.983, allocations: 0.5538 MB / 1.384 GB, free: 96.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.983, allocations: 4 kB / 1.384 GB, free: 96.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/1.983, allocations: 84.81 kB / 1.384 GB, free: 96.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/1.983, allocations: 111.8 kB / 1.384 GB, free: 95.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/1.984, allocations: 0.6851 MB / 1.384 GB, free: 95.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/1.985, allocations: 67.7 kB / 1.384 GB, free: 95.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/1.985, allocations: 35.92 kB / 1.384 GB, free: 95.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.985, allocations: 116.9 kB / 1.385 GB, free: 95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.985, allocations: 90.88 kB / 1.385 GB, free: 94.91 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/1.988, allocations: 0.9474 MB / 1.386 GB, free: 93.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.988, allocations: 8 kB / 1.386 GB, free: 93.94 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.988, allocations: 4 kB / 1.386 GB, free: 93.94 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/1.989, allocations: 0.8056 MB / 1.386 GB, free: 93.08 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/1.993, allocations: 1.714 MB / 1.388 GB, free: 91.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.993, allocations: 0 / 1.388 GB, free: 91.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/1.993, allocations: 111.8 kB / 1.388 GB, free: 91.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/1.994, allocations: 141.6 kB / 1.388 GB, free: 91.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/1.994, allocations: 12 kB / 1.388 GB, free: 91.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000851/1.994, allocations: 1.276 MB / 1.39 GB, free: 89.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.994, allocations: 0 / 1.39 GB, free: 89.73 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001876/1.996, allocations: 1.232 MB / 1.391 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/1.997, allocations: 263.6 kB / 1.391 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.997, allocations: 15.92 kB / 1.391 GB, free: 88.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/1.998, allocations: 43.95 kB / 1.391 GB, free: 88.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/1.998, allocations: 48.44 kB / 1.391 GB, free: 88.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/1.998, allocations: 24.09 kB / 1.391 GB, free: 88.05 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006568/1.999, allocations: 0.5069 MB / 1.392 GB, free: 87.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001783/2, allocations: 0.6116 MB / 1.392 GB, free: 86.94 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/2.002, allocations: 0.8282 MB / 1.393 GB, free: 86.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001544/2.004, allocations: 0.8816 MB / 1.394 GB, free: 85.37 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.004, allocations: 0 / 1.394 GB, free: 85.37 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/2.004, allocations: 358.2 kB / 1.394 GB, free: 85.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/2.006, allocations: 336.1 kB / 1.395 GB, free: 84.69 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/2.011, allocations: 1.601 MB / 1.396 GB, free: 83.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/2.012, allocations: 1.176 MB / 1.397 GB, free: 81.85 MB / 0.6667 GB Notification: Performance of SimCode: time 2.054e-06/2.012, allocations: 0 / 1.397 GB, free: 81.85 MB / 0.6667 GB Notification: Performance of Templates: time 0.03486/2.047, allocations: 22.98 MB / 1.42 GB, free: 59.11 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)