Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.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.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") [: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.002175/0.002175, allocations: 182.7 kB / 7.457 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.6703/0.6703, allocations: 130.6 MB / 138.5 MB, free: 2.211 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.372/1.372, allocations: 221.4 MB / 391.4 MB, free: 12.91 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.0009147/0.0009147, allocations: 101.7 kB / 473.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.287e-05, allocations: 3.281 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 81.58 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.096, allocations: 1.885 GB / 2.513 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/5.096, allocations: 89.23 kB / 2.513 GB, free: 185.8 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 1.289/6.385, allocations: 461.2 MB / 2.963 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.654e-05/6.385, allocations: 24 kB / 2.963 GB, free: 10.79 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005242/6.39, allocations: 1.517 MB / 2.965 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/6.39, allocations: 8.031 kB / 2.965 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/6.391, allocations: 162.5 kB / 2.965 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/6.393, allocations: 0.6456 MB / 2.965 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/6.393, allocations: 28 kB / 2.965 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/6.394, allocations: 52 kB / 2.965 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002387/6.396, allocations: 1.316 MB / 2.967 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/6.398, allocations: 1.075 MB / 2.968 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/6.398, allocations: 3.938 kB / 2.968 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/6.398, allocations: 0 / 2.968 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/6.398, allocations: 53.97 kB / 2.968 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/6.404, allocations: 3.503 MB / 2.971 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/6.406, allocations: 1.299 MB / 2.973 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/6.406, allocations: 0.6822 MB / 2.973 GB, free: 116 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3373/6.744, allocations: 0.9626 MB / 2.974 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/6.745, allocations: 0.6803 MB / 2.975 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=123): time 3.687e-06/6.745, allocations: 0 / 2.975 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123): time 0.002782/6.748, allocations: 1.385 MB / 2.976 GB, free: 175.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/6.748, allocations: 95.7 kB / 2.976 GB, free: 175 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/6.749, allocations: 0.5175 MB / 2.977 GB, free: 174.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/6.749, allocations: 29.2 kB / 2.977 GB, free: 174.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/6.749, allocations: 306.4 kB / 2.977 GB, free: 174.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/6.749, allocations: 392.2 kB / 2.977 GB, free: 174.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/6.749, allocations: 3.172 kB / 2.977 GB, free: 174.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001089/6.749, allocations: 402.7 kB / 2.978 GB, free: 174.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/6.75, allocations: 0.5082 MB / 2.978 GB, free: 174.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/6.751, allocations: 0.6893 MB / 2.979 GB, free: 174.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/6.752, allocations: 0.7478 MB / 2.98 GB, free: 174 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/6.752, allocations: 7.156 kB / 2.98 GB, free: 174 MB / 0.6667 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002493/6.755, allocations: 1.512 MB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/6.755, allocations: 11.34 kB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/6.755, allocations: 3.312 kB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/6.755, allocations: 7.562 kB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/6.756, allocations: 226 kB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/6.756, allocations: 11.56 kB / 2.981 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/6.756, allocations: 92.36 kB / 2.982 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/6.757, allocations: 53.56 kB / 2.982 GB, free: 173.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0002067/6.757, allocations: 166.9 kB / 2.982 GB, free: 173.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/6.757, allocations: 88.16 kB / 2.982 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/6.76, allocations: 1.61 MB / 2.983 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/6.76, allocations: 14.22 kB / 2.983 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/6.76, allocations: 0 / 2.983 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/6.76, allocations: 7.422 kB / 2.983 GB, free: 173.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/6.765, allocations: 3.224 MB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/6.765, allocations: 3.969 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008613/6.766, allocations: 207.8 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/6.766, allocations: 14.06 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/6.766, allocations: 25.5 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/6.766, allocations: 17.41 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/6.766, allocations: 9.25 kB / 2.987 GB, free: 173.1 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003413/6.769, allocations: 2.828 MB / 2.99 GB, free: 172.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/6.77, allocations: 330.1 kB / 2.99 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/6.77, allocations: 12.58 kB / 2.99 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/6.771, allocations: 43.41 kB / 2.99 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/6.771, allocations: 75.39 kB / 2.99 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/6.771, allocations: 50.47 kB / 2.99 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004425/6.772, allocations: 413.8 kB / 2.99 GB, free: 172 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001484/6.773, allocations: 467.5 kB / 2.991 GB, free: 172 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.002398/6.775, allocations: 1.804 MB / 2.993 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001731/6.777, allocations: 1.247 MB / 2.994 GB, free: 171.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/6.777, allocations: 0 / 2.994 GB, free: 171.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008037/6.778, allocations: 0.687 MB / 2.995 GB, free: 171.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/6.779, allocations: 210.4 kB / 2.995 GB, free: 171.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/6.783, allocations: 1.854 MB / 2.997 GB, free: 171 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009684/6.784, allocations: 1.236 MB / 2.998 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/6.784, allocations: 0 / 2.998 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.0365/6.82, allocations: 23.85 MB / 3.021 GB, free: 170.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)