Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 108.5 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 289.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.167/1.167, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 91.95 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2811, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 1.017/1.298, allocations: 218.5 MB / 0.895 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03342/1.331, allocations: 20.42 MB / 0.9149 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004657/1.336, allocations: 55.75 kB / 0.915 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004843/1.341, allocations: 1.251 MB / 0.9162 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01639/1.358, allocations: 4.092 MB / 0.9202 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005611/1.363, allocations: 1.526 MB / 0.9217 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01164/1.375, allocations: 6.982 MB / 0.9285 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004531/1.379, allocations: 2.356 MB / 0.9308 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006172/1.386, allocations: 2.36 MB / 0.9331 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00608/1.392, allocations: 2.461 MB / 0.9355 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000978/1.393, allocations: 340 kB / 0.9358 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/1.403, allocations: 3.461 MB / 0.9392 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002452/1.405, allocations: 1.454 MB / 0.9406 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00343/1.409, allocations: 1.871 MB / 0.9424 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/1.421, allocations: 5.78 MB / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.421, allocations: 0 / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.176e-06/1.421, allocations: 0 / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001471/1.421, allocations: 0 / 0.9481 GB, free: 13.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01107/1.432, allocations: 3.935 MB / 0.9519 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/1.432, allocations: 8.031 kB / 0.9519 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/1.437, allocations: 0.8313 MB / 0.9527 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/1.442, allocations: 1.937 MB / 0.9546 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.442, allocations: 205.4 kB / 0.9548 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004493/1.443, allocations: 268 kB / 0.9551 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/1.448, allocations: 3.283 MB / 0.9583 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/1.448, allocations: 7.906 kB / 0.9583 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/1.449, allocations: 112 kB / 0.9584 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.449, allocations: 121.4 kB / 0.9585 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5926/2.041, allocations: 4.625 MB / 0.963 GB, free: 246.5 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/2.067, allocations: 10.91 MB / 0.9737 GB, free: 240.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00986/2.077, allocations: 4.868 MB / 0.9785 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005599/2.082, allocations: 2.52 MB / 0.9809 GB, free: 237.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/2.084, allocations: 0.8596 MB / 0.9818 GB, free: 236.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.665e-05/2.084, allocations: 79.42 kB / 0.9818 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 6.963e-06/2.084, allocations: 0 / 0.9818 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01353/2.097, allocations: 6.022 MB / 0.9877 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.098, allocations: 93.92 kB / 0.9878 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/2.101, allocations: 1.231 MB / 0.989 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/2.101, allocations: 93.02 kB / 0.9891 GB, free: 233.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/2.102, allocations: 0.8161 MB / 0.9899 GB, free: 232.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/2.103, allocations: 1.329 MB / 0.9912 GB, free: 231.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/2.104, allocations: 0.5467 MB / 0.9917 GB, free: 231.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/2.105, allocations: 304.8 kB / 0.992 GB, free: 231.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/2.108, allocations: 1.608 MB / 0.9936 GB, free: 230.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/2.111, allocations: 1.899 MB / 0.9954 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006938/2.118, allocations: 3.838 MB / 0.9992 GB, free: 228 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/2.118, allocations: 1.344 kB / 0.9992 GB, free: 228 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008395/2.126, allocations: 4.2 MB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/2.126, allocations: 9.188 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/2.127, allocations: 4.484 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.524e-05/2.127, allocations: 15.75 kB / 1.003 GB, free: 226 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/2.129, allocations: 0.6878 MB / 1.004 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/2.129, allocations: 15.72 kB / 1.004 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/2.132, allocations: 234.4 kB / 1.004 GB, free: 225.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/2.132, allocations: 115 kB / 1.004 GB, free: 225.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001681/2.134, allocations: 0.7328 MB / 1.005 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/2.135, allocations: 246.3 kB / 1.005 GB, free: 225 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00702/2.142, allocations: 4.631 MB / 1.01 GB, free: 222.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/2.142, allocations: 42.88 kB / 1.01 GB, free: 222.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/2.142, allocations: 0 / 1.01 GB, free: 222.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005336/2.147, allocations: 3.954 MB / 1.014 GB, free: 220.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/2.159, allocations: 8.28 MB / 1.022 GB, free: 212.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/2.159, allocations: 0 / 1.022 GB, free: 212.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/2.162, allocations: 0.6661 MB / 1.022 GB, free: 211.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/2.163, allocations: 136.3 kB / 1.023 GB, free: 211.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/2.163, allocations: 83.97 kB / 1.023 GB, free: 211.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/2.167, allocations: 5.037 MB / 1.028 GB, free: 205.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.167, allocations: 0 / 1.028 GB, free: 205.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009671/2.177, allocations: 6.823 MB / 1.034 GB, free: 199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/2.179, allocations: 0.7627 MB / 1.035 GB, free: 198.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007143/2.18, allocations: 68 kB / 1.035 GB, free: 198.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/2.182, allocations: 91.14 kB / 1.035 GB, free: 198.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/2.183, allocations: 233.2 kB / 1.035 GB, free: 197.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/2.183, allocations: 104 kB / 1.035 GB, free: 197.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001876/2.185, allocations: 0.8606 MB / 1.036 GB, free: 196.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.92e-07/2.185, allocations: 0 / 1.036 GB, free: 196.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003944/2.189, allocations: 1.076 MB / 1.037 GB, free: 195.8 MB / 0.7169 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/2.19, allocations: 337.8 kB / 1.038 GB, free: 195.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007188/2.197, allocations: 4.061 MB / 1.042 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/2.197, allocations: 0 / 1.042 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/2.201, allocations: 2.55 MB / 1.044 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005693/2.207, allocations: 1.085 MB / 1.045 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/2.219, allocations: 6.59 MB / 1.052 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/2.221, allocations: 1.939 MB / 1.054 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00458/2.226, allocations: 1.219 MB / 1.055 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/2.227, allocations: 239.4 kB / 1.055 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.643e-06/2.227, allocations: 0 / 1.055 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.08416/2.311, allocations: 47.62 MB / 1.101 GB, free: 130.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)