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.001239/0.001239, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001285/0.001285, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.5528/0.5528, allocations: 95.59 MB / 366 MB, free: 10.36 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.000548/0.0005481, allocations: 19.98 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2674, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4188/0.6862, allocations: 168.3 MB / 0.6693 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006487/0.6927, allocations: 4.747 MB / 0.674 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.6937, allocations: 27.88 kB / 0.674 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6951, allocations: 0.5175 MB / 0.6745 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.7004, allocations: 2.002 MB / 0.6765 GB, free: 1.031 MB / 494.1 MB [/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.001948/0.7024, allocations: 0.6812 MB / 0.6771 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.7051, allocations: 1.302 MB / 0.6784 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.706, allocations: 0.5495 MB / 0.6789 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.7079, allocations: 0.9126 MB / 0.6798 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.7086, allocations: 0.4967 MB / 0.6803 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.7087, allocations: 41.5 kB / 0.6803 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.7119, allocations: 1.257 MB / 0.6816 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.7122, allocations: 302.9 kB / 0.6819 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.7125, allocations: 220.4 kB / 0.6821 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.7143, allocations: 1.529 MB / 0.6836 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.7143, allocations: 0 / 0.6836 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7143, allocations: 0 / 0.6836 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.7144, allocations: 0 / 0.6836 GB, free: 16.64 MB / 0.4981 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.002293/0.7167, allocations: 1.251 MB / 0.6848 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.7167, allocations: 11.92 kB / 0.6848 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.717, allocations: 108.1 kB / 0.6849 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.7182, allocations: 0.7465 MB / 0.6856 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.7183, allocations: 53.78 kB / 0.6857 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.7184, allocations: 64.91 kB / 0.6857 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.7196, allocations: 0.8729 MB / 0.6866 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.7197, allocations: 0 / 0.6866 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.7197, allocations: 30.78 kB / 0.6866 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.7198, allocations: 33.77 kB / 0.6867 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.721, allocations: 0.8918 MB / 0.6875 GB, free: 14.94 MB / 0.4981 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.004572/0.7256, allocations: 3.909 MB / 0.6913 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.7264, allocations: 0.5744 MB / 0.6919 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.727, allocations: 0.6937 MB / 0.6926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006547/0.7277, allocations: 464 kB / 0.693 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 3.416e-06/0.7277, allocations: 0 / 0.693 GB, free: 11.36 MB / 0.4981 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.007157/0.7349, allocations: 3.435 MB / 0.6964 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.7349, allocations: 59.69 kB / 0.6964 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.7355, allocations: 0.5315 MB / 0.697 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.7356, allocations: 45.33 kB / 0.697 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.7358, allocations: 343.6 kB / 0.6973 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.736, allocations: 243.5 kB / 0.6976 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.7361, allocations: 11.25 kB / 0.6976 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7362, allocations: 377.2 kB / 0.6979 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.7366, allocations: 302.5 kB / 0.6982 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.7371, allocations: 382.4 kB / 0.6986 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.7375, allocations: 357.7 kB / 0.6989 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7375, allocations: 4.031 kB / 0.6989 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001139/0.7387, allocations: 0.8283 MB / 0.6997 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7387, allocations: 4.906 kB / 0.6997 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7387, allocations: 0 / 0.6997 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.7388, allocations: 5.812 kB / 0.6997 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.7394, allocations: 148.7 kB / 0.6999 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7394, allocations: 4.906 kB / 0.6999 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.7399, allocations: 85.45 kB / 0.7 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.74, allocations: 26.67 kB / 0.7 GB, free: 8.914 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000355/0.7404, allocations: 271.8 kB / 0.7003 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.7405, allocations: 78.73 kB / 0.7003 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.7421, allocations: 0.9473 MB / 0.7013 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7421, allocations: 8.062 kB / 0.7013 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7421, allocations: 0 / 0.7013 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7421, allocations: 7.938 kB / 0.7013 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.7449, allocations: 2.081 MB / 0.7033 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7449, allocations: 6.797 kB / 0.7033 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.7455, allocations: 136.7 kB / 0.7034 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000849/0.7464, allocations: 178.3 kB / 0.7036 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.7465, allocations: 22.91 kB / 0.7036 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000745/0.7472, allocations: 1.147 MB / 0.7048 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7472, allocations: 128 / 0.7048 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.7489, allocations: 1.323 MB / 0.7061 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.7494, allocations: 266.4 kB / 0.7063 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.7495, allocations: 16.59 kB / 0.7063 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.7502, allocations: 71.41 kB / 0.7064 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.7503, allocations: 48.27 kB / 0.7064 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.7503, allocations: 32.73 kB / 0.7065 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004227/0.7508, allocations: 389.5 kB / 0.7068 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7508, allocations: 7.219 kB / 0.7068 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001237/0.752, allocations: 495.1 kB / 0.7073 GB, free: 5.609 MB / 0.4981 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 (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.0009958/0.753, allocations: 0.5126 MB / 0.7078 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.7541, allocations: 0.7402 MB / 0.7085 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7542, allocations: 0 / 0.7085 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.7548, allocations: 446.5 kB / 0.709 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.7569, allocations: 474.3 kB / 0.7094 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.7601, allocations: 2.268 MB / 0.7116 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.7607, allocations: 1.037 MB / 0.7126 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007446/0.7614, allocations: 217.8 kB / 0.7129 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.7616, allocations: 78.41 kB / 0.7129 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.7617, allocations: 0 / 0.7129 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of Templates: time 0.03332/0.795, allocations: 21.7 MB / 0.7341 GB, free: 11.11 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: