Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.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.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData") translateModel(IBPSA.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData") [: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.001076/0.001076, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4484/0.4484, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.315/1.315, allocations: 221.4 MB / 342.8 MB, free: 5.277 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.0009006/0.0009006, allocations: 97.52 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.066e-05, allocations: 4 kB / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 72.31 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.573/3.949, allocations: 1.907 GB / 2.46 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/3.949, allocations: 87.95 kB / 2.46 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.945/5.894, allocations: 0.5684 GB / 3.029 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002419/5.894, allocations: 47.92 kB / 3.029 GB, free: 34.94 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.005396/5.9, allocations: 2.011 MB / 3.031 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/5.9, allocations: 8.031 kB / 3.031 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/5.903, allocations: 0.536 MB / 3.031 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/5.906, allocations: 1.186 MB / 3.032 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/5.906, allocations: 55.94 kB / 3.032 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/5.906, allocations: 95.98 kB / 3.033 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002445/5.909, allocations: 1.654 MB / 3.034 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/5.911, allocations: 1.515 MB / 3.036 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/5.911, allocations: 0 / 3.036 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/5.911, allocations: 7.906 kB / 3.036 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/5.911, allocations: 55.05 kB / 3.036 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007403/5.918, allocations: 6.141 MB / 3.042 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/5.92, allocations: 1.378 MB / 3.043 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/5.921, allocations: 0.5774 MB / 3.044 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/5.922, allocations: 0.7882 MB / 3.044 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/5.923, allocations: 0.7412 MB / 3.045 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=133): time 4.749e-06/5.923, allocations: 0 / 3.045 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=133): time 0.003849/5.927, allocations: 1.311 MB / 3.046 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/5.927, allocations: 248.6 kB / 3.047 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/5.928, allocations: 0.8197 MB / 3.047 GB, free: 15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/5.928, allocations: 29.64 kB / 3.047 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/5.929, allocations: 0.5273 MB / 3.048 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/5.93, allocations: 429.5 kB / 3.048 GB, free: 14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/5.93, allocations: 0 / 3.048 GB, free: 14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001339/5.93, allocations: 357.9 kB / 3.049 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/5.93, allocations: 410.5 kB / 3.049 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/5.931, allocations: 0.5763 MB / 3.05 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/5.932, allocations: 0.5052 MB / 3.05 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/5.932, allocations: 3.938 kB / 3.05 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0027/5.935, allocations: 1.304 MB / 3.051 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/5.935, allocations: 4 kB / 3.051 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/5.935, allocations: 4 kB / 3.051 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/5.936, allocations: 138.5 kB / 3.052 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/5.937, allocations: 287.6 kB / 3.052 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/5.941, allocations: 4.012 MB / 3.056 GB, free: 6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/5.943, allocations: 135.1 kB / 3.056 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/5.943, allocations: 47.98 kB / 3.056 GB, free: 5.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (141): * Single equations (assignments): 138 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/5.944, allocations: 136.7 kB / 3.056 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/5.944, allocations: 138.3 kB / 3.056 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/5.948, allocations: 1.597 MB / 3.058 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/5.948, allocations: 12 kB / 3.058 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/5.948, allocations: 7.906 kB / 3.058 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/5.95, allocations: 1.273 MB / 3.059 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/5.956, allocations: 3.081 MB / 3.062 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.956, allocations: 0 / 3.062 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/5.957, allocations: 299.6 kB / 3.062 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007365/5.958, allocations: 134.5 kB / 3.062 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/5.958, allocations: 35.86 kB / 3.063 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/5.962, allocations: 4.024 MB / 3.066 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/5.962, allocations: 4.062 kB / 3.066 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004339/5.967, allocations: 2.165 MB / 3.069 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/5.968, allocations: 434.8 kB / 3.069 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/5.968, allocations: 0 / 3.069 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/5.969, allocations: 111.7 kB / 3.069 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/5.97, allocations: 85.19 kB / 3.069 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/5.97, allocations: 59.95 kB / 3.069 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001189/5.971, allocations: 0.6248 MB / 3.07 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002621/5.974, allocations: 0.7052 MB / 3.071 GB, free: 6.391 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * 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 (142): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003649/5.977, allocations: 2.078 MB / 3.073 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002671/5.98, allocations: 1.417 MB / 3.074 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/5.98, allocations: 448 / 3.074 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/5.981, allocations: 0.9437 MB / 3.075 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/5.985, allocations: 0.5297 MB / 3.075 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/6.293, allocations: 2.716 MB / 3.078 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/6.294, allocations: 1.575 MB / 3.08 GB, free: 155.2 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/6.294, allocations: 0 / 3.08 GB, free: 155.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.05332/6.348, allocations: 36.91 MB / 3.116 GB, free: 154.6 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)