Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007352/0.007352, allocations: 102 kB / 15.73 MB, free: 6.035 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.001415/0.001415, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.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.001504/0.001504, allocations: 63.91 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.313, allocations: 104.7 MB / 0.828 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.101/1.414, allocations: 204.4 MB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01245/1.426, allocations: 6.357 MB / 1.034 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/1.429, allocations: 34.47 kB / 1.034 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/1.432, allocations: 0.7269 MB / 1.035 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/1.446, allocations: 2.691 MB / 1.037 GB, free: 5.789 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.003654/1.449, allocations: 0.7407 MB / 1.038 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007459/1.457, allocations: 3.394 MB / 1.041 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/1.459, allocations: 1.168 MB / 1.042 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/1.463, allocations: 1.292 MB / 1.044 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/1.466, allocations: 1.106 MB / 1.045 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/1.467, allocations: 132 kB / 1.045 GB, free: 14.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006269/1.473, allocations: 2.354 MB / 1.047 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009525/1.474, allocations: 0.526 MB / 1.048 GB, free: 11.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/1.476, allocations: 0.7625 MB / 1.048 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006005/1.482, allocations: 2.839 MB / 1.051 GB, free: 8.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.482, allocations: 4 kB / 1.051 GB, free: 8.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.595e-06/1.482, allocations: 4 kB / 1.051 GB, free: 8.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.082e-05/1.482, allocations: 0 / 1.051 GB, free: 8.227 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004686/1.487, allocations: 1.777 MB / 1.053 GB, free: 6.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.487, allocations: 8.031 kB / 1.053 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/1.489, allocations: 346.2 kB / 1.053 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.49, allocations: 0.874 MB / 1.054 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/1.491, allocations: 82.03 kB / 1.054 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.491, allocations: 100 kB / 1.054 GB, free: 4.949 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.493, allocations: 1.207 MB / 1.055 GB, free: 3.711 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.493, allocations: 3.938 kB / 1.055 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.493, allocations: 40 kB / 1.055 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/1.493, allocations: 62.11 kB / 1.056 GB, free: 3.605 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/1.495, allocations: 1.257 MB / 1.057 GB, free: 2.34 MB / 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.006712/1.502, allocations: 5.101 MB / 1.062 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/1.503, allocations: 1.142 MB / 1.063 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/1.504, allocations: 0.5029 MB / 1.063 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/1.504, allocations: 20.78 kB / 1.063 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006786/1.504, allocations: 497.1 kB / 1.064 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.504, allocations: 0 / 1.064 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.001895/1.506, allocations: 1.145 MB / 1.065 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.506, allocations: 60.06 kB / 1.065 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/1.507, allocations: 0.5821 MB / 1.066 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/1.507, allocations: 37.7 kB / 1.066 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/1.508, allocations: 463.6 kB / 1.066 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/1.508, allocations: 272.1 kB / 1.066 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.508, allocations: 130.6 kB / 1.066 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.508, allocations: 386.8 kB / 1.067 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/1.509, allocations: 325.8 kB / 1.067 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/1.509, allocations: 450.5 kB / 1.068 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.51, allocations: 0.8232 MB / 1.068 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.51, allocations: 0 / 1.068 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001466/1.512, allocations: 0.9153 MB / 1.069 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.512, allocations: 8 kB / 1.069 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.512, allocations: 3.938 kB / 1.069 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.512, allocations: 11.94 kB / 1.069 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.513, allocations: 159.8 kB / 1.069 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.513, allocations: 7.938 kB / 1.069 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/1.513, allocations: 70.58 kB / 1.069 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/1.514, allocations: 24 kB / 1.07 GB, free: 4.574 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.0006596/1.514, allocations: 341.5 kB / 1.07 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/1.514, allocations: 79.06 kB / 1.07 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/1.515, allocations: 107.7 kB / 1.07 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.515, allocations: 8 kB / 1.07 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.515, allocations: 0 / 1.07 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/1.516, allocations: 1.089 MB / 1.071 GB, free: 2.859 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.003572/1.52, allocations: 2.303 MB / 1.073 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.52, allocations: 0 / 1.073 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/1.52, allocations: 175.8 kB / 1.074 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.52, allocations: 4 kB / 1.074 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/1.52, allocations: 19.98 kB / 1.074 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.52, allocations: 4 kB / 1.074 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.52, allocations: 7.969 kB / 1.074 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.523, allocations: 1.469 MB / 1.075 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/1.523, allocations: 264 kB / 1.075 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.524, allocations: 12 kB / 1.075 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/1.524, allocations: 30.84 kB / 1.075 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.524, allocations: 44.59 kB / 1.075 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/1.524, allocations: 35.97 kB / 1.075 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007592/1.525, allocations: 411.1 kB / 1.076 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/1.525, allocations: 0 / 1.076 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001238/1.526, allocations: 375 kB / 1.076 GB, free: 13.61 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.0004364/1.527, allocations: 190.9 kB / 1.076 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001563/1.528, allocations: 0.7902 MB / 1.077 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.528, allocations: 4 kB / 1.077 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/1.529, allocations: 424.2 kB / 1.077 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.532, allocations: 0.5866 MB / 1.078 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/1.536, allocations: 2.154 MB / 1.08 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/1.536, allocations: 1.155 MB / 1.081 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009572/1.537, allocations: 267.1 kB / 1.082 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.538, allocations: 71.44 kB / 1.082 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/1.538, allocations: 0 / 1.082 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of Templates: time 0.03436/1.572, allocations: 19.57 MB / 1.101 GB, free: 4.625 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)