Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5661/0.5661, allocations: 94.77 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00118/0.00118, allocations: 174.6 kB / 125.5 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.742/1.742, allocations: 170.6 MB / 319.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001748/0.001749, allocations: 114.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.326e-05, allocations: 4 kB / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1755, allocations: 61.51 MB / 0.4987 GB, free: 4.156 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.69/14.87, allocations: 5.258 GB / 5.757 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004195/14.87, allocations: 80.55 kB / 5.757 GB, free: 108.8 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Airflow/Multizone/ZonalFlow_ACS.mo:30:3-36: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 - DAE generated: time 1.675/16.54, allocations: 397.7 MB / 6.145 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/16.54, allocations: 0 / 6.145 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.989e-05/16.54, allocations: 21.66 kB / 6.145 GB, free: 72.45 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005137/16.55, allocations: 1.591 MB / 6.147 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/16.55, allocations: 8.484 kB / 6.147 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/16.55, allocations: 109.2 kB / 6.147 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05891/16.61, allocations: 26.43 MB / 6.173 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/16.61, allocations: 23.38 kB / 6.173 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/16.61, allocations: 46.73 kB / 6.173 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/16.61, allocations: 0.7743 MB / 6.173 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/16.61, allocations: 0.7221 MB / 6.174 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/16.61, allocations: 3.188 kB / 6.174 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/16.61, allocations: 0 / 6.174 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/16.61, allocations: 37.48 kB / 6.174 GB, free: 69.51 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005721/16.62, allocations: 2.788 MB / 6.177 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/16.62, allocations: 0.5395 MB / 6.177 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/16.62, allocations: 388.4 kB / 6.178 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/16.62, allocations: 193.7 kB / 6.178 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007744/16.62, allocations: 429.9 kB / 6.178 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 7.644e-06/16.62, allocations: 3.844 kB / 6.178 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01135/16.63, allocations: 3.98 MB / 6.182 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/16.63, allocations: 58.97 kB / 6.182 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/16.63, allocations: 437.7 kB / 6.183 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/16.63, allocations: 29.98 kB / 6.183 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/16.63, allocations: 341.2 kB / 6.183 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/16.64, allocations: 270.9 kB / 6.183 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/16.64, allocations: 2.25 kB / 6.183 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001674/16.64, allocations: 375.1 kB / 6.184 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/16.64, allocations: 376.7 kB / 6.184 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/16.64, allocations: 460.7 kB / 6.184 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/16.64, allocations: 0.5355 MB / 6.185 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/16.64, allocations: 0 / 6.185 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002899/16.64, allocations: 1.257 MB / 6.186 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/16.64, allocations: 7.531 kB / 6.186 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/16.64, allocations: 3.812 kB / 6.186 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/16.64, allocations: 256 kB / 6.186 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/16.64, allocations: 174.9 kB / 6.187 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/16.65, allocations: 5.399 MB / 6.192 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/16.65, allocations: 88.47 kB / 6.192 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/16.65, allocations: 40.27 kB / 6.192 GB, free: 59.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (89): * Single equations (assignments): 87 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004682/16.66, allocations: 126.5 kB / 6.192 GB, free: 59.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/16.66, allocations: 68.12 kB / 6.192 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/16.66, allocations: 1.362 MB / 6.194 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/16.66, allocations: 12.72 kB / 6.194 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/16.66, allocations: 0 / 6.194 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/16.66, allocations: 7.641 kB / 6.194 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/16.66, allocations: 2.701 MB / 6.196 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/16.66, allocations: 2.531 kB / 6.196 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/16.67, allocations: 179 kB / 6.196 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/16.67, allocations: 296.7 kB / 6.197 GB, free: 57.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/16.67, allocations: 25.5 kB / 6.197 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/16.67, allocations: 2.981 MB / 6.2 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/16.67, allocations: 7.188 kB / 6.2 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/16.67, allocations: 1.826 MB / 6.201 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007302/16.67, allocations: 300.3 kB / 6.202 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/16.67, allocations: 15.48 kB / 6.202 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/16.68, allocations: 58.81 kB / 6.202 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/16.68, allocations: 65.62 kB / 6.202 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/16.68, allocations: 51.52 kB / 6.202 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005658/16.68, allocations: 349.1 kB / 6.202 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/16.68, allocations: 0 / 6.202 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003823/16.68, allocations: 0.7039 MB / 6.203 GB, free: 53.56 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (rooA.dynBal.medium.p,rooA.dynBal.medium.Xi[1],rooA.dynBal.medium.T,rooB.dynBal.medium.p,rooB.dynBal.medium.Xi[1],rooB.dynBal.medium.T) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003857/16.68, allocations: 1.687 MB / 6.204 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002224/16.69, allocations: 1.206 MB / 6.206 GB, free: 52.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/16.69, allocations: 0 / 6.206 GB, free: 52.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/16.69, allocations: 0.7963 MB / 6.206 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/16.69, allocations: 454.4 kB / 6.207 GB, free: 51.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/16.69, allocations: 1.821 MB / 6.209 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/16.7, allocations: 1.07 MB / 6.21 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00123/16.7, allocations: 248.1 kB / 6.21 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/16.7, allocations: 93.08 kB / 6.21 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/16.7, allocations: 3.969 kB / 6.21 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.05245/16.75, allocations: 30.17 MB / 6.239 GB, free: 33.39 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)