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.001647/0.001647, allocations: 108.3 kB / 15.99 MB, free: 5.91 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.001642/0.001642, allocations: 189.7 kB / 16.91 MB, free: 5.758 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.508/1.508, allocations: 205.1 MB / 222.8 MB, free: 4.59 MB / 174.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.754/1.754, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001407/0.001407, allocations: 63.38 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2355, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.599/0.8346, allocations: 201.6 MB / 0.9803 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008695/0.8433, allocations: 6.266 MB / 0.9865 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.8452, allocations: 29.41 kB / 0.9865 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.8472, allocations: 0.6595 MB / 0.9871 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.854, allocations: 2.502 MB / 0.9896 GB, free: 5.008 MB / 0.7325 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.002109/0.8562, allocations: 0.6396 MB / 0.9902 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.8616, allocations: 3.248 MB / 0.9934 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.8634, allocations: 1.113 MB / 0.9945 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.8663, allocations: 1.257 MB / 0.9957 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.8688, allocations: 1.173 MB / 0.9968 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.8691, allocations: 128.5 kB / 0.9969 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004716/0.8738, allocations: 2.469 MB / 0.9994 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006056/0.8744, allocations: 0.5108 MB / 0.9999 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.8755, allocations: 0.7352 MB / 1.001 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.8782, allocations: 2.084 MB / 1.003 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.8783, allocations: 0 / 1.003 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8783, allocations: 0 / 1.003 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.8783, allocations: 4 kB / 1.003 GB, free: 2.375 MB / 0.7325 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.004536/0.8828, allocations: 1.76 MB / 1.004 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.8829, allocations: 7.062 kB / 1.004 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.8854, allocations: 341.2 kB / 1.005 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.8867, allocations: 0.8354 MB / 1.005 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.8868, allocations: 81.36 kB / 1.006 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.887, allocations: 101.3 kB / 1.006 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.8887, allocations: 1.19 MB / 1.007 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.8888, allocations: 0 / 1.007 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.8889, allocations: 49.3 kB / 1.007 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.8889, allocations: 56.61 kB / 1.007 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.8906, allocations: 1.248 MB / 1.008 GB, free: 15.79 MB / 0.7481 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.00621/0.8968, allocations: 5.046 MB / 1.013 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8982, allocations: 1.15 MB / 1.014 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/0.8989, allocations: 0.5017 MB / 1.015 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.899, allocations: 20.25 kB / 1.015 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/0.8997, allocations: 490 kB / 1.015 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.125e-06/0.8997, allocations: 0 / 1.015 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001899/0.9016, allocations: 1.152 MB / 1.016 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.9017, allocations: 64.59 kB / 1.016 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.9023, allocations: 0.5609 MB / 1.017 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.9024, allocations: 42.02 kB / 1.017 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.9027, allocations: 460.2 kB / 1.017 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.903, allocations: 277.5 kB / 1.018 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.9032, allocations: 130.5 kB / 1.018 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.9034, allocations: 381.5 kB / 1.018 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.9038, allocations: 333.2 kB / 1.018 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.9043, allocations: 463.6 kB / 1.019 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.9054, allocations: 0.8218 MB / 1.02 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9054, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001375/0.9068, allocations: 0.9256 MB / 1.021 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.9068, allocations: 4.719 kB / 1.021 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.9068, allocations: 2.656 kB / 1.021 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.9068, allocations: 5.938 kB / 1.021 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.9075, allocations: 160.6 kB / 1.021 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.9075, allocations: 13.66 kB / 1.021 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.9085, allocations: 140.7 kB / 1.021 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.9086, allocations: 29.56 kB / 1.021 GB, free: 7.488 MB / 0.7481 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.0004983/0.9091, allocations: 328 kB / 1.021 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.9092, allocations: 76.69 kB / 1.021 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.9094, allocations: 107.3 kB / 1.021 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.9095, allocations: 7.375 kB / 1.021 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.9095, allocations: 7.312 kB / 1.021 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/0.9107, allocations: 1.082 MB / 1.022 GB, free: 6.328 MB / 0.7481 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.003226/0.9139, allocations: 2.309 MB / 1.025 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9139, allocations: 0 / 1.025 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/0.9147, allocations: 181.5 kB / 1.025 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.9148, allocations: 2.25 kB / 1.025 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.9148, allocations: 13.12 kB / 1.025 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.9148, allocations: 7.406 kB / 1.025 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.9148, allocations: 1.875 kB / 1.025 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.9167, allocations: 1.489 MB / 1.026 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.9172, allocations: 257.5 kB / 1.027 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.9173, allocations: 14.69 kB / 1.027 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008328/0.9182, allocations: 96.91 kB / 1.027 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.9183, allocations: 49.22 kB / 1.027 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.9183, allocations: 28.64 kB / 1.027 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004654/0.9188, allocations: 408.9 kB / 1.027 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9188, allocations: 0 / 1.027 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008887/0.9197, allocations: 366.7 kB / 1.028 GB, free: 3.242 MB / 0.7481 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.0002821/0.92, allocations: 182.9 kB / 1.028 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.9217, allocations: 1.04 MB / 1.029 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9217, allocations: 0.6875 kB / 1.029 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.9222, allocations: 428.9 kB / 1.029 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.9247, allocations: 0.5941 MB / 1.03 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.9281, allocations: 2.667 MB / 1.032 GB, free: 396 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.9289, allocations: 1.136 MB / 1.033 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.9292, allocations: 82.88 kB / 1.034 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.9292, allocations: 0 / 1.034 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.02369/0.9529, allocations: 15.86 MB / 1.049 GB, free: 2.02 MB / 0.7637 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 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)