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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008268/0.008268, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001746/0.001747, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5619/0.5619, allocations: 95.48 MB / 365.4 MB, free: 9.797 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 71.84 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1181, allocations: 69.08 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5234/0.6415, allocations: 214.8 MB / 0.7808 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.647, allocations: 3.078 MB / 0.7838 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006568/0.6477, allocations: 23.88 kB / 0.7838 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.649, allocations: 0.5205 MB / 0.7843 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.654, allocations: 2.255 MB / 0.7865 GB, free: 1.629 MB / 0.5919 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: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.656, allocations: 0.8408 MB / 0.7874 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.6586, allocations: 2.315 MB / 0.7896 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.6595, allocations: 0.7523 MB / 0.7904 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.6622, allocations: 1.315 MB / 0.7916 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.6637, allocations: 0.798 MB / 0.7924 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.6638, allocations: 107.9 kB / 0.7925 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.6675, allocations: 2.152 MB / 0.7946 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.6679, allocations: 406.9 kB / 0.795 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.6685, allocations: 0.5524 MB / 0.7956 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6717, allocations: 2.459 MB / 0.798 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6717, allocations: 0 / 0.798 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6717, allocations: 0 / 0.798 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6717, allocations: 0 / 0.798 GB, free: 5.918 MB / 0.6075 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.002657/0.6744, allocations: 1.453 MB / 0.7994 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6744, allocations: 15.98 kB / 0.7994 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.6748, allocations: 107.4 kB / 0.7995 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.6763, allocations: 0.8997 MB / 0.8004 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.6763, allocations: 54.81 kB / 0.8004 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6765, allocations: 64 kB / 0.8005 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6779, allocations: 0.8897 MB / 0.8013 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6779, allocations: 0 / 0.8013 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.678, allocations: 28 kB / 0.8014 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.678, allocations: 34 kB / 0.8014 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.6795, allocations: 0.8978 MB / 0.8023 GB, free: 1.375 MB / 0.6075 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.004892/0.6844, allocations: 3.891 MB / 0.8061 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/0.6853, allocations: 0.5789 MB / 0.8066 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.686, allocations: 430.2 kB / 0.8071 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.6866, allocations: 0.7005 MB / 0.8077 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/0.6873, allocations: 468.1 kB / 0.8082 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.154e-06/0.6874, allocations: 0 / 0.8082 GB, free: 10.78 MB / 0.6231 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.T 2: rooA.dynBal.medium.p 3: rooB.dynBal.medium.T 4: rooB.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=70): time 0.008069/0.6954, allocations: 3.391 MB / 0.8115 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.6955, allocations: 59.97 kB / 0.8116 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.6961, allocations: 0.4942 MB / 0.812 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.6962, allocations: 41.7 kB / 0.8121 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.6965, allocations: 336.4 kB / 0.8124 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.6967, allocations: 248.3 kB / 0.8126 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.6969, allocations: 122.3 kB / 0.8128 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6971, allocations: 370.8 kB / 0.8131 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.6976, allocations: 305.1 kB / 0.8134 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.6982, allocations: 381.9 kB / 0.8138 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6992, allocations: 0.7164 MB / 0.8145 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6992, allocations: 0 / 0.8145 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001371/0.7006, allocations: 0.8323 MB / 0.8153 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7007, allocations: 4 kB / 0.8153 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.7007, allocations: 4 kB / 0.8153 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.7007, allocations: 7.938 kB / 0.8153 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.7014, allocations: 143.8 kB / 0.8154 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.7014, allocations: 4 kB / 0.8154 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.7018, allocations: 23.98 kB / 0.8155 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.7019, allocations: 27.98 kB / 0.8155 GB, free: 3.121 MB / 0.6231 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003542/0.7022, allocations: 269.8 kB / 0.8157 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.7023, allocations: 71.16 kB / 0.8158 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.7041, allocations: 0.9465 MB / 0.8167 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.7041, allocations: 8 kB / 0.8167 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7041, allocations: 0 / 0.8167 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.7041, allocations: 3.984 kB / 0.8167 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.7073, allocations: 2.122 MB / 0.8188 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7074, allocations: 4.031 kB / 0.8188 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.7081, allocations: 139.8 kB / 0.819 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009096/0.709, allocations: 177.5 kB / 0.8191 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.7091, allocations: 23.98 kB / 0.8191 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/0.7099, allocations: 1.148 MB / 0.8203 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7099, allocations: 0 / 0.8203 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.7119, allocations: 1.314 MB / 0.8216 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.7123, allocations: 244.2 kB / 0.8218 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.7124, allocations: 16 kB / 0.8218 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.7129, allocations: 23.98 kB / 0.8218 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.713, allocations: 52.52 kB / 0.8219 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.7131, allocations: 31.98 kB / 0.8219 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004477/0.7135, allocations: 362.8 kB / 0.8222 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7135, allocations: 0 / 0.8222 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001227/0.7148, allocations: 499.6 kB / 0.8227 GB, free: 11.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000997/0.7158, allocations: 0.5354 MB / 0.8232 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.717, allocations: 0.7434 MB / 0.824 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.717, allocations: 0 / 0.824 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.7177, allocations: 444 kB / 0.8244 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.7199, allocations: 0.5021 MB / 0.8249 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.7229, allocations: 1.834 MB / 0.8267 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.7235, allocations: 1.018 MB / 0.8277 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006511/0.7242, allocations: 213.8 kB / 0.8279 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.7244, allocations: 79.41 kB / 0.828 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.7244, allocations: 0 / 0.828 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of Templates: time 0.03458/0.759, allocations: 23.28 MB / 0.8507 GB, free: 14.92 MB / 0.67 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)