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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 181.9 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009074, allocations: 87.73 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 10.41 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1991, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6302/0.8293, allocations: 199.4 MB / 1.096 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.8406, allocations: 6.372 MB / 1.102 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.8439, allocations: 29.41 kB / 1.102 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.8469, allocations: 0.6409 MB / 1.103 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.8551, allocations: 2.531 MB / 1.105 GB, free: 1.207 MB / 0.698 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.002116/0.8572, allocations: 0.6771 MB / 1.106 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005579/0.8628, allocations: 4.954 MB / 1.11 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.8646, allocations: 0.9315 MB / 1.111 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.8674, allocations: 1.108 MB / 1.112 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.8704, allocations: 1.114 MB / 1.114 GB, free: 1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.8707, allocations: 57.97 kB / 1.114 GB, free: 1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.8765, allocations: 2.709 MB / 1.116 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009086/0.8774, allocations: 460.4 kB / 1.117 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.8794, allocations: 0.6907 MB / 1.117 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006955/0.8863, allocations: 2.891 MB / 1.12 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.8864, allocations: 0 / 1.12 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.791e-06/0.8864, allocations: 0 / 1.12 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000103/0.8865, allocations: 2.625 kB / 1.12 GB, free: 16.79 MB / 0.7136 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.005153/0.8917, allocations: 1.53 MB / 1.122 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8917, allocations: 8.031 kB / 1.122 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005735/0.8923, allocations: 162 kB / 1.122 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.8949, allocations: 358 kB / 1.122 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.8966, allocations: 0.8319 MB / 1.123 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.8967, allocations: 82.41 kB / 1.123 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.897, allocations: 100.1 kB / 1.123 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.8992, allocations: 1.203 MB / 1.124 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.8993, allocations: 4 kB / 1.124 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.8994, allocations: 39.47 kB / 1.124 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/0.8995, allocations: 67.42 kB / 1.124 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.9015, allocations: 1.259 MB / 1.126 GB, free: 15.43 MB / 0.7136 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.007707/0.9093, allocations: 5.083 MB / 1.131 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.911, allocations: 1.145 MB / 1.132 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.9118, allocations: 0.5058 MB / 1.132 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/0.9119, allocations: 20.09 kB / 1.132 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.9126, allocations: 489 kB / 1.133 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.036e-06/0.9126, allocations: 0 / 1.133 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001907/0.9145, allocations: 1.144 MB / 1.134 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9146, allocations: 64.06 kB / 1.134 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.9154, allocations: 0.5796 MB / 1.135 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.9155, allocations: 44.72 kB / 1.135 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.9158, allocations: 458.8 kB / 1.135 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.9161, allocations: 272.4 kB / 1.135 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.9161, allocations: 12.97 kB / 1.135 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.9163, allocations: 381.9 kB / 1.136 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.9168, allocations: 327 kB / 1.136 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.9173, allocations: 455.5 kB / 1.136 GB, free: 11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.9184, allocations: 0.8211 MB / 1.137 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.9184, allocations: 0 / 1.137 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001354/0.9197, allocations: 0.9219 MB / 1.138 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9198, allocations: 6.094 kB / 1.138 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9198, allocations: 3.25 kB / 1.138 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9198, allocations: 9.469 kB / 1.138 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.9205, allocations: 157.2 kB / 1.138 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.9205, allocations: 9.375 kB / 1.138 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.9217, allocations: 141.4 kB / 1.138 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.9218, allocations: 24.59 kB / 1.138 GB, free: 10.56 MB / 0.7136 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.0005929/0.9224, allocations: 343 kB / 1.139 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.9226, allocations: 83.16 kB / 1.139 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.9228, allocations: 112.5 kB / 1.139 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.9229, allocations: 8.562 kB / 1.139 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.9229, allocations: 0 / 1.139 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.924, allocations: 1.079 MB / 1.14 GB, free: 9.801 MB / 0.7136 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.003724/0.9278, allocations: 2.302 MB / 1.142 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.9278, allocations: 2.938 kB / 1.142 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.9286, allocations: 181.3 kB / 1.142 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.9287, allocations: 3.344 kB / 1.142 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.9287, allocations: 20.45 kB / 1.142 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.9288, allocations: 5.516 kB / 1.142 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9288, allocations: 3.938 kB / 1.142 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.9307, allocations: 1.473 MB / 1.144 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/0.9313, allocations: 257.7 kB / 1.144 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9314, allocations: 14.19 kB / 1.144 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.9324, allocations: 110.3 kB / 1.144 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.9325, allocations: 44.25 kB / 1.144 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.9326, allocations: 32.64 kB / 1.144 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005388/0.9332, allocations: 418.1 kB / 1.145 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9332, allocations: 0 / 1.145 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001051/0.9342, allocations: 373.9 kB / 1.145 GB, free: 8.082 MB / 0.7136 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.002229/0.9365, allocations: 2.091 MB / 1.147 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.9376, allocations: 0.79 MB / 1.148 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9377, allocations: 3.594 kB / 1.148 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.9382, allocations: 431.7 kB / 1.148 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.941, allocations: 0.5562 MB / 1.149 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.9531, allocations: 7.954 MB / 1.157 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.954, allocations: 1.143 MB / 1.158 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001261/0.9553, allocations: 276 kB / 1.158 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.9559, allocations: 381.8 kB / 1.158 GB, free: 340 kB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/0.956, allocations: 0 / 1.158 GB, free: 340 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/1.003, allocations: 24.8 MB / 1.183 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.003, allocations: 201.7 kB / 1.183 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/4.034, allocations: 0 / 1.183 GB, free: 9.129 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)