Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure") [: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.001056/0.001056, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4434/0.4434, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 95.78 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.843e-06, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4848, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.942/4.426, allocations: 1.876 GB / 2.429 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/4.427, allocations: 89.94 kB / 2.429 GB, free: 147.1 MB / 0.6042 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.501/5.928, allocations: 461.2 MB / 2.879 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.494e-05/5.928, allocations: 28.58 kB / 2.879 GB, free: 121.1 MB / 0.6042 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.004977/5.933, allocations: 1.52 MB / 2.881 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/5.933, allocations: 9.969 kB / 2.881 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/5.934, allocations: 165.1 kB / 2.881 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/5.935, allocations: 0.6427 MB / 2.881 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/5.935, allocations: 26.84 kB / 2.881 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/5.936, allocations: 54.56 kB / 2.881 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002249/5.938, allocations: 1.327 MB / 2.883 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/5.94, allocations: 1.066 MB / 2.884 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/5.94, allocations: 3.781 kB / 2.884 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/5.94, allocations: 0 / 2.884 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/5.94, allocations: 54.91 kB / 2.884 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/5.945, allocations: 3.219 MB / 2.887 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/5.946, allocations: 1.345 MB / 2.888 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/5.947, allocations: 0.7166 MB / 2.889 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/5.948, allocations: 1.54 MB / 2.891 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008771/5.949, allocations: 0.7086 MB / 2.891 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=127): time 3.957e-06/5.949, allocations: 0 / 2.891 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127): time 0.002815/5.952, allocations: 1.436 MB / 2.893 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/5.952, allocations: 92.77 kB / 2.893 GB, free: 117 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/5.953, allocations: 0.4964 MB / 2.893 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/5.953, allocations: 25.7 kB / 2.893 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/5.953, allocations: 284.6 kB / 2.893 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/5.953, allocations: 409.9 kB / 2.894 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/5.953, allocations: 0 / 2.894 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001218/5.953, allocations: 396.4 kB / 2.894 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/5.954, allocations: 0.5153 MB / 2.895 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/5.955, allocations: 0.667 MB / 2.895 GB, free: 116 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/5.956, allocations: 0.763 MB / 2.896 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/5.956, allocations: 0 / 2.896 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002837/5.959, allocations: 1.518 MB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/5.959, allocations: 5.219 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/5.959, allocations: 3.969 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/5.959, allocations: 7.906 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/5.96, allocations: 227.2 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/5.96, allocations: 11.12 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/5.961, allocations: 91.52 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/5.961, allocations: 52.17 kB / 2.898 GB, free: 115.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0002131/5.961, allocations: 163.4 kB / 2.898 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/5.961, allocations: 84.56 kB / 2.898 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/5.965, allocations: 1.659 MB / 2.9 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/5.965, allocations: 14.44 kB / 2.9 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/5.965, allocations: 3.906 kB / 2.9 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/5.966, allocations: 3.938 kB / 2.9 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/5.972, allocations: 3.608 MB / 2.903 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/5.972, allocations: 3.969 kB / 2.903 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/5.973, allocations: 218.7 kB / 2.904 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/5.973, allocations: 14.22 kB / 2.904 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/5.973, allocations: 26.25 kB / 2.904 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/5.973, allocations: 18.66 kB / 2.904 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/5.973, allocations: 9.844 kB / 2.904 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003753/5.977, allocations: 2.991 MB / 2.907 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/5.977, allocations: 332.9 kB / 2.907 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/5.977, allocations: 14.62 kB / 2.907 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/5.978, allocations: 45.5 kB / 2.907 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/5.978, allocations: 90.2 kB / 2.907 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/5.978, allocations: 50.72 kB / 2.907 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004543/5.979, allocations: 400.1 kB / 2.908 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001596/5.98, allocations: 459.9 kB / 2.908 GB, free: 113.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.002666/5.983, allocations: 1.804 MB / 2.91 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001837/5.985, allocations: 1.269 MB / 2.911 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/5.985, allocations: 0 / 2.911 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/5.986, allocations: 0.7143 MB / 2.912 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/5.987, allocations: 216.7 kB / 2.912 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/5.991, allocations: 1.896 MB / 2.914 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/5.992, allocations: 1.228 MB / 2.915 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of SimCode: time 6.72e-07/5.992, allocations: 0 / 2.915 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.03656/6.028, allocations: 23.98 MB / 2.938 GB, free: 100.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)