Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") translateModel(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") [: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/Annex60 1.0.0/package.mo): time 0.2777/0.2777, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001315/0.001315, allocations: 188.8 kB / 75.38 MB, free: 1.535 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.714/1.714, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002082/0.002082, allocations: 113.3 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.893e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 57.64 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.98/5.141, allocations: 2.133 GB / 2.585 GB, free: 70 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/5.142, allocations: 79.95 kB / 2.585 GB, free: 69.93 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.312/6.454, allocations: 367.6 MB / 2.944 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000106/6.454, allocations: 21.16 kB / 2.944 GB, free: 92.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.004616/6.458, allocations: 1.232 MB / 2.945 GB, free: 91.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/6.458, allocations: 13.25 kB / 2.945 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/6.461, allocations: 326.3 kB / 2.945 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/6.464, allocations: 0.7855 MB / 2.946 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/6.464, allocations: 26.78 kB / 2.946 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/6.464, allocations: 41.06 kB / 2.946 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001637/6.466, allocations: 0.6586 MB / 2.947 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/6.467, allocations: 0.6714 MB / 2.948 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/6.467, allocations: 1.312 kB / 2.948 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/6.467, allocations: 0 / 2.948 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.631e-05/6.467, allocations: 39.52 kB / 2.948 GB, free: 90.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/6.473, allocations: 3.589 MB / 2.951 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/6.474, allocations: 0.6048 MB / 2.952 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/6.475, allocations: 347.5 kB / 2.952 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/6.475, allocations: 97.28 kB / 2.952 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/6.476, allocations: 367.9 kB / 2.953 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 3.897e-06/6.476, allocations: 0 / 2.953 GB, free: 86.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.001648/6.478, allocations: 0.5958 MB / 2.953 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/6.478, allocations: 57.09 kB / 2.953 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/6.478, allocations: 399.9 kB / 2.954 GB, free: 85.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/6.478, allocations: 29.64 kB / 2.954 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/6.478, allocations: 295.2 kB / 2.954 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/6.479, allocations: 193.1 kB / 2.954 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/6.479, allocations: 0 / 2.954 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/6.479, allocations: 374.7 kB / 2.954 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/6.479, allocations: 221.2 kB / 2.955 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/6.479, allocations: 319.5 kB / 2.955 GB, free: 84.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/6.48, allocations: 284.8 kB / 2.955 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/6.48, allocations: 0 / 2.955 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008748/6.481, allocations: 0.6275 MB / 2.956 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/6.481, allocations: 5.094 kB / 2.956 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/6.481, allocations: 4 kB / 2.956 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/6.481, allocations: 7.906 kB / 2.956 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/6.481, allocations: 123.8 kB / 2.956 GB, free: 83.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/6.481, allocations: 15.88 kB / 2.956 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/6.482, allocations: 74.39 kB / 2.956 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/6.482, allocations: 20 kB / 2.956 GB, free: 83.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/6.483, allocations: 120.8 kB / 2.956 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/6.483, allocations: 66.75 kB / 2.956 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/6.483, allocations: 77.83 kB / 2.956 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/6.483, allocations: 7.984 kB / 2.956 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/6.483, allocations: 0 / 2.956 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007041/6.484, allocations: 0.6917 MB / 2.957 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/6.486, allocations: 1.507 MB / 2.958 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/6.486, allocations: 7.438 kB / 2.958 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/6.487, allocations: 139.9 kB / 2.959 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/6.487, allocations: 4 kB / 2.959 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/6.487, allocations: 15.92 kB / 2.959 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/6.487, allocations: 4 kB / 2.959 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/6.487, allocations: 0 / 2.959 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001201/6.488, allocations: 1.072 MB / 2.96 GB, free: 79.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/6.489, allocations: 223.9 kB / 2.96 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/6.489, allocations: 4 kB / 2.96 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/6.49, allocations: 64.06 kB / 2.96 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/6.49, allocations: 28.45 kB / 2.96 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/6.49, allocations: 23.98 kB / 2.96 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002977/6.49, allocations: 306.9 kB / 2.96 GB, free: 78.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001097/6.491, allocations: 343.2 kB / 2.961 GB, free: 78.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/6.493, allocations: 1.442 MB / 2.962 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007723/6.494, allocations: 0.5431 MB / 2.963 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/6.494, allocations: 0 / 2.963 GB, free: 76.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/6.494, allocations: 297.7 kB / 2.963 GB, free: 76.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/6.496, allocations: 429 kB / 2.963 GB, free: 75.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/6.499, allocations: 1.427 MB / 2.965 GB, free: 74.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/6.499, allocations: 1.109 MB / 2.966 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/6.499, allocations: 0 / 2.966 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.03222/6.532, allocations: 21.87 MB / 2.987 GB, free: 51.57 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)