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.5945/0.5945, allocations: 94.7 MB / 107.3 MB, free: 5.219 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001312/0.001312, allocations: 179.4 kB / 130.7 MB, free: 7.582 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.807/1.807, allocations: 170.5 MB / 324.5 MB, free: 4.102 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.001612/0.001612, allocations: 111.1 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.693e-05/4.697e-05, allocations: 4 kB / 456 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.494, allocations: 61.51 MB / 0.5054 GB, free: 49.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.13/14.62, allocations: 5.259 GB / 5.764 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/14.62, allocations: 83.95 kB / 5.764 GB, free: 115.1 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.638/16.26, allocations: 402.1 MB / 6.157 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.303e-06/16.26, allocations: 0 / 6.157 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.426e-05/16.26, allocations: 21 kB / 6.157 GB, free: 73.25 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.004662/16.26, allocations: 1.596 MB / 6.158 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/16.26, allocations: 10.16 kB / 6.158 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/16.27, allocations: 106.4 kB / 6.158 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05564/16.32, allocations: 26.83 MB / 6.185 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/16.32, allocations: 50.62 kB / 6.185 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/16.32, allocations: 67.7 kB / 6.185 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/16.32, allocations: 0.8213 MB / 6.185 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/16.32, allocations: 0 / 6.185 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/16.32, allocations: 35.17 kB / 6.185 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/16.32, allocations: 37.69 kB / 6.186 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/16.32, allocations: 0.8286 MB / 6.186 GB, free: 69.1 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.004529/16.33, allocations: 2.919 MB / 6.189 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/16.33, allocations: 0.5679 MB / 6.19 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/16.33, allocations: 407.5 kB / 6.19 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/16.33, allocations: 202.7 kB / 6.19 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006504/16.33, allocations: 447.7 kB / 6.191 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.807e-06/16.33, allocations: 0 / 6.191 GB, free: 66.64 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: rooA.dynBal.medium.Xi[1] 2: rooA.dynBal.medium.T 3: rooA.dynBal.medium.p 4: rooB.dynBal.medium.Xi[1] 5: rooB.dynBal.medium.T 6: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=68): time 0.004789/16.34, allocations: 1.618 MB / 6.192 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/16.34, allocations: 59.12 kB / 6.192 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/16.34, allocations: 484.9 kB / 6.193 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/16.34, allocations: 41.27 kB / 6.193 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/16.34, allocations: 338.2 kB / 6.193 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/16.34, allocations: 238.1 kB / 6.193 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/16.34, allocations: 12 kB / 6.193 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001222/16.34, allocations: 372 kB / 6.194 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/16.34, allocations: 278.8 kB / 6.194 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/16.34, allocations: 370.8 kB / 6.194 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/16.34, allocations: 334.3 kB / 6.195 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/16.34, allocations: 6.391 kB / 6.195 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001092/16.34, allocations: 0.7843 MB / 6.196 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/16.34, allocations: 8.031 kB / 6.196 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/16.34, allocations: 2.969 kB / 6.196 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/16.34, allocations: 3.969 kB / 6.196 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/16.34, allocations: 141.8 kB / 6.196 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/16.34, allocations: 6.469 kB / 6.196 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/16.34, allocations: 91.78 kB / 6.196 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/16.34, allocations: 40.44 kB / 6.196 GB, free: 64.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (79): * Single equations (assignments): 79 * 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.0001473/16.34, allocations: 146.2 kB / 6.196 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/16.34, allocations: 68.84 kB / 6.196 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/16.34, allocations: 0.8956 MB / 6.197 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/16.34, allocations: 7.75 kB / 6.197 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/16.34, allocations: 4 kB / 6.197 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/16.34, allocations: 3.844 kB / 6.197 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/16.35, allocations: 2.079 MB / 6.199 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/16.35, allocations: 0 / 6.199 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/16.35, allocations: 133.8 kB / 6.199 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009997/16.35, allocations: 188.7 kB / 6.199 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/16.35, allocations: 23.38 kB / 6.199 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006574/16.35, allocations: 1.145 MB / 6.2 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/16.35, allocations: 7.766 kB / 6.2 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/16.35, allocations: 1.328 MB / 6.202 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/16.35, allocations: 264.3 kB / 6.202 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/16.35, allocations: 19.16 kB / 6.202 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/16.35, allocations: 77.88 kB / 6.202 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/16.35, allocations: 44.5 kB / 6.202 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/16.35, allocations: 41.33 kB / 6.202 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000452/16.35, allocations: 380.6 kB / 6.202 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/16.35, allocations: 0 / 6.202 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002627/16.35, allocations: 0.616 MB / 6.203 GB, free: 60.04 MB / 0.5261 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 (70): * Single equations (assignments): 68 * 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: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002786/16.36, allocations: 1.381 MB / 6.204 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001168/16.36, allocations: 0.6979 MB / 6.205 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/16.36, allocations: 3.312 kB / 6.205 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/16.36, allocations: 408.9 kB / 6.205 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/16.36, allocations: 461.7 kB / 6.206 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/16.36, allocations: 1.56 MB / 6.207 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/16.36, allocations: 1.031 MB / 6.208 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007939/16.37, allocations: 218.1 kB / 6.209 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/16.37, allocations: 77.38 kB / 6.209 GB, free: 57.53 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/16.37, allocations: 4 kB / 6.209 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.05137/16.42, allocations: 37.22 MB / 6.245 GB, free: 29.46 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)