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.0009484/0.0009486, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005406/0.005406, allocations: 169 kB / 16.26 MB, free: 6.652 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.395/1.395, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.532/1.532, allocations: 252 MB / 0.5105 GB, free: 4.605 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.000492/0.0004922, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4213, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6179/1.039, allocations: 199.4 MB / 0.9235 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009486/1.049, allocations: 6.371 MB / 0.9297 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.05, allocations: 25.72 kB / 0.9297 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/1.052, allocations: 0.6418 MB / 0.9303 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/1.059, allocations: 2.54 MB / 0.9328 GB, free: 1.816 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.002016/1.061, allocations: 0.6849 MB / 0.9335 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006028/1.067, allocations: 4.949 MB / 0.9383 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/1.069, allocations: 0.9424 MB / 0.9392 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/1.072, allocations: 1.076 MB / 0.9403 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/1.075, allocations: 1.116 MB / 0.9414 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/1.075, allocations: 53.84 kB / 0.9414 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005642/1.081, allocations: 2.71 MB / 0.9441 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000789/1.082, allocations: 454.2 kB / 0.9445 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/1.084, allocations: 0.6904 MB / 0.9452 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006671/1.09, allocations: 2.888 MB / 0.948 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.09, allocations: 0 / 0.948 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.925e-06/1.09, allocations: 2.906 kB / 0.948 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.522e-05/1.09, allocations: 0 / 0.948 GB, free: 17.41 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00458/1.095, allocations: 1.532 MB / 0.9495 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.095, allocations: 14.14 kB / 0.9495 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/1.098, allocations: 346.4 kB / 0.9498 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.099, allocations: 0.8387 MB / 0.9507 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/1.099, allocations: 79.02 kB / 0.9507 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/1.1, allocations: 102.8 kB / 0.9508 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.102, allocations: 1.204 MB / 0.952 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/1.102, allocations: 1.875 kB / 0.952 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.102, allocations: 48.42 kB / 0.9521 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/1.102, allocations: 60.92 kB / 0.9521 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/1.104, allocations: 1.249 MB / 0.9533 GB, free: 16.1 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.005845/1.11, allocations: 5.082 MB / 0.9583 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.111, allocations: 1.139 MB / 0.9594 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/1.112, allocations: 0.5012 MB / 0.9599 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/1.112, allocations: 21.11 kB / 0.9599 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000712/1.113, allocations: 495.1 kB / 0.9604 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/1.113, allocations: 0 / 0.9604 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001726/1.115, allocations: 1.145 MB / 0.9615 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.115, allocations: 58.19 kB / 0.9616 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/1.115, allocations: 0.5813 MB / 0.9621 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/1.115, allocations: 47.23 kB / 0.9622 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.116, allocations: 459.1 kB / 0.9626 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.116, allocations: 272.2 kB / 0.9629 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/1.116, allocations: 62.08 kB / 0.9629 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.116, allocations: 387 kB / 0.9633 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/1.117, allocations: 323.1 kB / 0.9636 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/1.117, allocations: 455.2 kB / 0.964 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/1.118, allocations: 0.8215 MB / 0.9648 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.118, allocations: 4 kB / 0.9648 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001196/1.119, allocations: 0.9108 MB / 0.9657 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.119, allocations: 11.47 kB / 0.9658 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.119, allocations: 6.844 kB / 0.9658 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.119, allocations: 5.375 kB / 0.9658 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/1.12, allocations: 165.7 kB / 0.9659 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.12, allocations: 6.094 kB / 0.9659 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.121, allocations: 140.6 kB / 0.9661 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/1.121, allocations: 32.66 kB / 0.9661 GB, free: 11.67 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.0004232/1.121, allocations: 335.2 kB / 0.9664 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.122, allocations: 88.97 kB / 0.9665 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/1.122, allocations: 105.1 kB / 0.9666 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.122, allocations: 8.281 kB / 0.9666 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.122, allocations: 0 / 0.9666 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/1.123, allocations: 1.079 MB / 0.9677 GB, free: 11.04 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.003215/1.126, allocations: 2.311 MB / 0.9699 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.126, allocations: 0 / 0.9699 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/1.127, allocations: 185 kB / 0.9701 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/1.127, allocations: 2.406 kB / 0.9701 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/1.127, allocations: 17.2 kB / 0.9701 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.127, allocations: 3.594 kB / 0.9701 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.127, allocations: 0 / 0.9701 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/1.129, allocations: 1.474 MB / 0.9716 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/1.129, allocations: 264.7 kB / 0.9718 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.129, allocations: 18.34 kB / 0.9718 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/1.13, allocations: 108 kB / 0.9719 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/1.13, allocations: 42.7 kB / 0.972 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/1.13, allocations: 27.67 kB / 0.972 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004247/1.131, allocations: 416.5 kB / 0.9724 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.131, allocations: 2.906 kB / 0.9724 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008329/1.132, allocations: 374.5 kB / 0.9727 GB, free: 10.02 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.0002447/1.132, allocations: 176.5 kB / 0.9729 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.133, allocations: 0.7957 MB / 0.9737 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.133, allocations: 0 / 0.9737 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/1.133, allocations: 424 kB / 0.9741 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.136, allocations: 0.5708 MB / 0.9747 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/1.139, allocations: 2.733 MB / 0.9773 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.14, allocations: 1.147 MB / 0.9784 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009853/1.141, allocations: 275.8 kB / 0.9787 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.141, allocations: 72.58 kB / 0.9788 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/1.141, allocations: 0 / 0.9788 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.03097/1.172, allocations: 18.46 MB / 0.9968 GB, free: 13.62 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: