Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors") translateModel(Annex60.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors") [: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.2774/0.2774, allocations: 54.4 MB / 61.68 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.001233/0.001233, allocations: 185.5 kB / 75.37 MB, free: 1.516 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.459/1.459, allocations: 194.2 MB / 283.2 MB, free: 3.457 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.001689/0.001689, allocations: 120 kB / 341.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/8.005e-06, allocations: 0 / 404.9 MB, free: 27.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 57.65 MB / 462.6 MB, free: 1.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.005/9.139, allocations: 4.637 GB / 5.089 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/9.14, allocations: 81.69 kB / 5.089 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.671/11.81, allocations: 0.8155 GB / 5.904 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003177/11.81, allocations: 56.53 kB / 5.904 GB, free: 45.44 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.01486/11.83, allocations: 3.384 MB / 5.908 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/11.83, allocations: 9.969 kB / 5.908 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/11.83, allocations: 0.6766 MB / 5.908 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007403/11.84, allocations: 2.168 MB / 5.91 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/11.84, allocations: 83.55 kB / 5.911 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/11.84, allocations: 151.5 kB / 5.911 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009255/11.85, allocations: 3.879 MB / 5.914 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009119/11.86, allocations: 2.692 MB / 5.917 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/11.86, allocations: 7.75 kB / 5.917 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008888/11.86, allocations: 7.312 kB / 5.917 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/11.86, allocations: 114.8 kB / 5.917 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/11.88, allocations: 10.21 MB / 5.927 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/11.89, allocations: 3.776 MB / 5.931 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00431/11.89, allocations: 2.318 MB / 5.933 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/11.9, allocations: 0.7718 MB / 5.934 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/11.9, allocations: 72.94 kB / 5.934 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=366): time 5.13e-06/11.9, allocations: 0 / 5.934 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=366): time 0.01336/11.91, allocations: 4.3 MB / 5.938 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/11.91, allocations: 89.72 kB / 5.938 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/11.91, allocations: 0.7654 MB / 5.939 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/11.91, allocations: 25.7 kB / 5.939 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/11.91, allocations: 0.54 MB / 5.94 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/11.91, allocations: 1.17 MB / 5.941 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/11.91, allocations: 2.75 kB / 5.941 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002755/11.91, allocations: 431.6 kB / 5.941 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002607/11.92, allocations: 1.444 MB / 5.943 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/11.92, allocations: 1.713 MB / 5.944 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/11.92, allocations: 2.249 MB / 5.946 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/11.92, allocations: 0 / 5.946 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01047/11.93, allocations: 4.236 MB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/11.93, allocations: 5.344 kB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/11.93, allocations: 6.078 kB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/11.93, allocations: 17.56 kB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/11.94, allocations: 0.6386 MB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.421e-05/11.94, allocations: 20.34 kB / 5.951 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/11.94, allocations: 277.9 kB / 5.951 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/11.94, allocations: 109.8 kB / 5.952 GB, free: 36.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 395 * 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.000651/11.94, allocations: 138.9 kB / 5.952 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/11.94, allocations: 213.3 kB / 5.952 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/11.95, allocations: 4.876 MB / 5.957 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/11.95, allocations: 37.78 kB / 5.957 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/11.95, allocations: 8.969 kB / 5.957 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008248/11.96, allocations: 4.204 MB / 5.961 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/11.98, allocations: 8.071 MB / 5.969 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/11.98, allocations: 0 / 5.969 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003401/11.98, allocations: 0.6595 MB / 5.969 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/11.98, allocations: 139.8 kB / 5.97 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/11.98, allocations: 31.08 kB / 5.97 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/11.99, allocations: 4.33 MB / 5.974 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/11.99, allocations: 2.906 kB / 5.974 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01251/12, allocations: 7.216 MB / 5.981 GB, free: 19.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/12, allocations: 0.7216 MB / 5.982 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/12, allocations: 4 kB / 5.982 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/12.01, allocations: 149.4 kB / 5.982 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/12.01, allocations: 194.2 kB / 5.982 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/12.01, allocations: 111.8 kB / 5.982 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007348/12.01, allocations: 0.5925 MB / 5.983 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004061/12.01, allocations: 1.091 MB / 5.984 GB, free: 16.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (390): * Single equations (assignments): 387 * 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: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002946/12.01, allocations: 2.549 MB / 5.986 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005092/12.02, allocations: 3.735 MB / 5.99 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/12.02, allocations: 0 / 5.99 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002897/12.02, allocations: 2.416 MB / 5.992 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/12.03, allocations: 0.837 MB / 5.993 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/12.03, allocations: 5.459 MB / 5.998 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002485/12.04, allocations: 2.166 MB / 6 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/12.04, allocations: 4 kB / 6 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of Templates: time 0.3224/12.36, allocations: 63.53 MB / 6.062 GB, free: 94.16 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)