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.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.091/2.091, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.708/1.708, allocations: 251.7 MB / 0.5092 GB, free: 3.195 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.001464/0.001464, allocations: 63.91 kB / 0.6223 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7865, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.112/1.899, allocations: 204.3 MB / 0.924 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01631/1.915, allocations: 6.349 MB / 0.9302 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/1.919, allocations: 36.78 kB / 0.9303 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/1.923, allocations: 0.737 MB / 0.931 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/1.935, allocations: 2.691 MB / 0.9336 GB, free: 1.645 MB / 0.7169 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.003508/1.938, allocations: 0.7342 MB / 0.9343 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008646/1.947, allocations: 3.389 MB / 0.9377 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/1.95, allocations: 1.179 MB / 0.9388 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/1.955, allocations: 1.282 MB / 0.9401 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/1.96, allocations: 1.106 MB / 0.9411 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000504/1.961, allocations: 132.7 kB / 0.9413 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008889/1.97, allocations: 2.362 MB / 0.9436 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/1.971, allocations: 0.5289 MB / 0.9441 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002715/1.974, allocations: 0.757 MB / 0.9448 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/1.985, allocations: 2.821 MB / 0.9476 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.985, allocations: 0.8438 kB / 0.9476 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/1.985, allocations: 0 / 0.9476 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.36e-05/1.985, allocations: 0 / 0.9476 GB, free: 1.297 MB / 0.7169 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.005784/1.991, allocations: 1.785 MB / 0.9493 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.991, allocations: 10.78 kB / 0.9493 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/1.993, allocations: 339.3 kB / 0.9497 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.995, allocations: 0.8452 MB / 0.9505 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/1.995, allocations: 78.19 kB / 0.9506 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/1.995, allocations: 102.5 kB / 0.9507 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.997, allocations: 1.207 MB / 0.9518 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.998, allocations: 0.9375 kB / 0.9518 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.998, allocations: 44.25 kB / 0.9519 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/1.998, allocations: 60.03 kB / 0.9519 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/2, allocations: 1.259 MB / 0.9532 GB, free: 15.96 MB / 0.7325 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.008133/2.008, allocations: 5.136 MB / 0.9582 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/2.01, allocations: 1.139 MB / 0.9593 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007629/2.01, allocations: 0.4986 MB / 0.9598 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/2.011, allocations: 23.77 kB / 0.9598 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/2.011, allocations: 0.4944 MB / 0.9603 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/2.011, allocations: 0 / 0.9603 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.00253/2.014, allocations: 1.141 MB / 0.9614 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/2.014, allocations: 60.78 kB / 0.9615 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009636/2.015, allocations: 0.5886 MB / 0.962 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/2.015, allocations: 40.58 kB / 0.9621 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/2.016, allocations: 457.9 kB / 0.9625 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/2.016, allocations: 268.9 kB / 0.9628 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/2.016, allocations: 138 kB / 0.9629 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002148/2.016, allocations: 383.6 kB / 0.9633 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/2.017, allocations: 322.7 kB / 0.9636 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/2.018, allocations: 460.4 kB / 0.964 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/2.019, allocations: 0.8182 MB / 0.9648 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.019, allocations: 0 / 0.9648 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001781/2.021, allocations: 0.9248 MB / 0.9657 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/2.021, allocations: 5.531 kB / 0.9657 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/2.021, allocations: 2.406 kB / 0.9657 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/2.021, allocations: 7.281 kB / 0.9657 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/2.021, allocations: 158.2 kB / 0.9659 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/2.021, allocations: 6.062 kB / 0.9659 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/2.022, allocations: 64.12 kB / 0.9659 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/2.022, allocations: 25.38 kB / 0.966 GB, free: 11.59 MB / 0.7325 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.0007571/2.023, allocations: 339.8 kB / 0.9663 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/2.023, allocations: 86.25 kB / 0.9664 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/2.024, allocations: 108.1 kB / 0.9665 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/2.024, allocations: 8.656 kB / 0.9665 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/2.024, allocations: 2.844 kB / 0.9665 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/2.025, allocations: 1.075 MB / 0.9675 GB, free: 10.95 MB / 0.7325 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.003871/2.029, allocations: 2.311 MB / 0.9698 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/2.029, allocations: 1 kB / 0.9698 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/2.03, allocations: 181.8 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/2.03, allocations: 1.812 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/2.03, allocations: 20.05 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/2.03, allocations: 2.281 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/2.03, allocations: 3.469 kB / 0.97 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/2.032, allocations: 1.471 MB / 0.9714 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/2.033, allocations: 259 kB / 0.9717 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/2.033, allocations: 13.84 kB / 0.9717 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/2.034, allocations: 34.89 kB / 0.9717 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/2.034, allocations: 43.53 kB / 0.9718 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/2.034, allocations: 28.52 kB / 0.9718 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006268/2.034, allocations: 419 kB / 0.9722 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/2.034, allocations: 0.9375 kB / 0.9722 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001607/2.036, allocations: 369.7 kB / 0.9725 GB, free: 9.949 MB / 0.7325 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.0004267/2.036, allocations: 183.8 kB / 0.9727 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002179/2.039, allocations: 1.026 MB / 0.9737 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/2.039, allocations: 0 / 0.9737 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/2.039, allocations: 426.6 kB / 0.9741 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/2.042, allocations: 0.6012 MB / 0.9747 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/2.047, allocations: 2.184 MB / 0.9769 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/2.049, allocations: 1.142 MB / 0.978 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001679/2.05, allocations: 276.9 kB / 0.9782 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/2.051, allocations: 77.72 kB / 0.9783 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of SimCode: time 2.735e-06/2.051, allocations: 0 / 0.9783 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of Templates: time 0.04374/2.095, allocations: 19.41 MB / 0.9973 GB, free: 12.77 MB / 0.7481 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)