Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.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.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse") translateModel(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse") [: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.001036/0.001036, allocations: 192.8 kB / 7.803 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4384/0.4384, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.28/1.28, allocations: 221.4 MB / 342.8 MB, free: 5.137 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.000937/0.0009369, allocations: 94.94 kB / 415.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.564e-06, allocations: 0 / 493.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4577, allocations: 72.3 MB / 0.5529 GB, free: 73.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.003/4.461, allocations: 1.904 GB / 2.456 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/4.461, allocations: 93.89 kB / 2.456 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673/6.134, allocations: 0.5697 GB / 3.026 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001461/6.134, allocations: 59.92 kB / 3.026 GB, free: 44.32 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.005756/6.14, allocations: 2.365 MB / 3.029 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/6.14, allocations: 8.031 kB / 3.029 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/6.142, allocations: 480.6 kB / 3.029 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/6.145, allocations: 1.366 MB / 3.03 GB, free: 40 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/6.145, allocations: 64 kB / 3.03 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/6.145, allocations: 116 kB / 3.031 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003842/6.149, allocations: 2.557 MB / 3.033 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/6.152, allocations: 1.937 MB / 3.035 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/6.152, allocations: 0 / 3.035 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/6.153, allocations: 0 / 3.035 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/6.153, allocations: 79.73 kB / 3.035 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009747/6.162, allocations: 6.868 MB / 3.042 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/6.166, allocations: 2.115 MB / 3.044 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/6.167, allocations: 1.051 MB / 3.045 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/6.168, allocations: 1.006 MB / 3.046 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/6.169, allocations: 1.122 MB / 3.047 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=207): time 3.467e-06/6.169, allocations: 0 / 3.047 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=207): time 0.004937/6.174, allocations: 2.184 MB / 3.049 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/6.174, allocations: 257.3 kB / 3.049 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/6.176, allocations: 0.8944 MB / 3.05 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/6.176, allocations: 29.7 kB / 3.05 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/6.176, allocations: 0.5363 MB / 3.051 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/6.177, allocations: 0.6542 MB / 3.051 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/6.177, allocations: 0 / 3.051 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001028/6.177, allocations: 373.9 kB / 3.052 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/6.178, allocations: 0.7342 MB / 3.052 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/6.179, allocations: 0.9582 MB / 3.053 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/6.181, allocations: 1.062 MB / 3.054 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/6.181, allocations: 0 / 3.054 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0042/6.185, allocations: 2.206 MB / 3.057 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/6.186, allocations: 4.25 kB / 3.057 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/6.186, allocations: 8 kB / 3.057 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/6.186, allocations: 88.78 kB / 3.057 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/6.188, allocations: 371.5 kB / 3.057 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/6.189, allocations: 1.465 MB / 3.058 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/6.191, allocations: 178.7 kB / 3.059 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/6.191, allocations: 67.97 kB / 3.059 GB, free: 10.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 219 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003189/6.192, allocations: 138.5 kB / 3.059 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/6.192, allocations: 158.1 kB / 3.059 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/6.197, allocations: 2.585 MB / 3.061 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/6.197, allocations: 27.91 kB / 3.061 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/6.197, allocations: 0 / 3.061 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003662/6.201, allocations: 2.364 MB / 3.064 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2517/6.452, allocations: 5.172 MB / 3.069 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/6.452, allocations: 7.531 kB / 3.069 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/6.454, allocations: 373.3 kB / 3.069 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/6.455, allocations: 140 kB / 3.069 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/6.455, allocations: 31.33 kB / 3.069 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/6.458, allocations: 2.889 MB / 3.072 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/6.458, allocations: 12.23 kB / 3.072 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005922/6.464, allocations: 4.021 MB / 3.076 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/6.465, allocations: 0.5344 MB / 3.077 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/6.465, allocations: 14.19 kB / 3.077 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/6.466, allocations: 107.4 kB / 3.077 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/6.467, allocations: 128.3 kB / 3.077 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/6.467, allocations: 71.42 kB / 3.077 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008546/6.468, allocations: 0.6885 MB / 3.078 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002257/6.47, allocations: 0.7967 MB / 3.078 GB, free: 126.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 5 (simpleZone.volRoom.dynBal.medium.Xi[1],simpleZone.volRoom.dynBal.U,simpleZone.volRoom.dynBal.m,simpleZone.door.mExcAB,simpleZone.door.mExcBA) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/6.473, allocations: 2.256 MB / 3.081 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002892/6.476, allocations: 2.017 MB / 3.083 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/6.476, allocations: 1.938 kB / 3.083 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/6.477, allocations: 1.299 MB / 3.084 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/6.48, allocations: 0.5501 MB / 3.084 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/6.487, allocations: 3.664 MB / 3.088 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/6.489, allocations: 1.756 MB / 3.09 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/6.489, allocations: 5.5 kB / 3.09 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.05775/6.547, allocations: 41.95 MB / 3.131 GB, free: 122.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.makefile (rm -f IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; mkfifo IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe >> ../files/IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.sim & ./IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe 2>&1)