Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001512/0.001512, allocations: 110.8 kB / 16.36 MB, free: 6.414 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.001611/0.001611, allocations: 197.6 kB / 17.31 MB, free: 5.781 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.89 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2074, allocations: 114.5 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.555/0.7625, allocations: 204.2 MB / 0.9841 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009074/0.7716, allocations: 6.288 MB / 0.9903 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.7727, allocations: 35.81 kB / 0.9903 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7744, allocations: 0.7272 MB / 0.991 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.7804, allocations: 2.672 MB / 0.9936 GB, free: 4.113 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37: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.001671/0.7821, allocations: 0.6934 MB / 0.9943 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003793/0.7859, allocations: 3.255 MB / 0.9975 GB, free: 168 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.7874, allocations: 1.144 MB / 0.9986 GB, free: 15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.7895, allocations: 1.242 MB / 0.9998 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.7914, allocations: 1.084 MB / 1.001 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.7917, allocations: 128 kB / 1.001 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004327/0.796, allocations: 2.358 MB / 1.003 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.7965, allocations: 0.5143 MB / 1.004 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008386/0.7974, allocations: 0.743 MB / 1.005 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.8013, allocations: 2.786 MB / 1.007 GB, free: 6.129 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8013, allocations: 0 / 1.007 GB, free: 6.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8013, allocations: 0 / 1.007 GB, free: 6.129 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.8013, allocations: 4 kB / 1.007 GB, free: 6.125 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003893/0.8052, allocations: 1.764 MB / 1.009 GB, free: 4.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8053, allocations: 8.031 kB / 1.009 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.8076, allocations: 342.1 kB / 1.009 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.809, allocations: 0.8311 MB / 1.01 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.8091, allocations: 89.98 kB / 1.01 GB, free: 2.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.8093, allocations: 100 kB / 1.01 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.8112, allocations: 1.191 MB / 1.011 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.8112, allocations: 3.938 kB / 1.011 GB, free: 1.672 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.8113, allocations: 40 kB / 1.012 GB, free: 1.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.14e-05/0.8114, allocations: 62.06 kB / 1.012 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.8133, allocations: 1.242 MB / 1.013 GB, free: 328 kB / 0.795 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.006579/0.8199, allocations: 5.078 MB / 1.018 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.8213, allocations: 1.147 MB / 1.019 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.822, allocations: 0.505 MB / 1.019 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.8221, allocations: 16.64 kB / 1.019 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.8228, allocations: 478.9 kB / 1.02 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/0.8228, allocations: 4.562 kB / 1.02 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.002029/0.8249, allocations: 1.161 MB / 1.021 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8249, allocations: 60 kB / 1.021 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.8256, allocations: 0.5666 MB / 1.022 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.8257, allocations: 37.7 kB / 1.022 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.826, allocations: 467.7 kB / 1.022 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.8263, allocations: 273.4 kB / 1.022 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.8265, allocations: 126.7 kB / 1.022 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8267, allocations: 386.8 kB / 1.023 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.8272, allocations: 329.8 kB / 1.023 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.8278, allocations: 458.5 kB / 1.024 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.829, allocations: 0.8233 MB / 1.024 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.829, allocations: 4 kB / 1.024 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001461/0.8305, allocations: 0.9298 MB / 1.025 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8305, allocations: 8 kB / 1.025 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.8305, allocations: 0 / 1.025 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8305, allocations: 8 kB / 1.025 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/0.8313, allocations: 159.7 kB / 1.025 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.8313, allocations: 4 kB / 1.025 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.832, allocations: 67.27 kB / 1.026 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.8321, allocations: 24.94 kB / 1.026 GB, free: 2.566 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (91): * Single equations (assignments): 91 * 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.0005287/0.8326, allocations: 330.9 kB / 1.026 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.8328, allocations: 79.06 kB / 1.026 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.833, allocations: 111.6 kB / 1.026 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.8331, allocations: 7.938 kB / 1.026 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8331, allocations: 4 kB / 1.026 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/0.8343, allocations: 1.085 MB / 1.027 GB, free: 0.8594 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.003324/0.8377, allocations: 2.303 MB / 1.029 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8377, allocations: 4.031 kB / 1.029 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.8386, allocations: 175.8 kB / 1.03 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8386, allocations: 7.938 kB / 1.03 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.8386, allocations: 19.98 kB / 1.03 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.944e-06/0.8387, allocations: 6.375 kB / 1.03 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8387, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.8407, allocations: 1.488 MB / 1.031 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.8411, allocations: 252 kB / 1.031 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8412, allocations: 23.98 kB / 1.031 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.8419, allocations: 16 kB / 1.031 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.842, allocations: 44.59 kB / 1.031 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.842, allocations: 23.98 kB / 1.031 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005012/0.8425, allocations: 407.1 kB / 1.032 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8425, allocations: 7.938 kB / 1.032 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009264/0.8435, allocations: 367.1 kB / 1.032 GB, free: 11.62 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0002539/0.8437, allocations: 165.5 kB / 1.032 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.845, allocations: 0.8097 MB / 1.033 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.845, allocations: 0 / 1.033 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.8456, allocations: 431.5 kB / 1.033 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.848, allocations: 0.5936 MB / 1.034 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.8511, allocations: 2.148 MB / 1.036 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8518, allocations: 1.136 MB / 1.037 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.8527, allocations: 265.5 kB / 1.037 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.8529, allocations: 75.44 kB / 1.038 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of SimCode: time 6.32e-07/0.8529, allocations: 0 / 1.038 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.03033/0.8832, allocations: 19.13 MB / 1.056 GB, free: 3.238 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)