Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00114/0.00114, allocations: 194.4 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4589, allocations: 140.4 MB / 0.949 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1816/0.6405, allocations: 202 MB / 1.146 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008083/0.6486, allocations: 6.438 MB / 1.153 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.6491, allocations: 31.81 kB / 1.153 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.6505, allocations: 0.6494 MB / 1.153 GB, free: 284 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004301/0.6548, allocations: 2.525 MB / 1.156 GB, free: 13.74 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.001168/0.656, allocations: 0.6294 MB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003688/0.6597, allocations: 4.839 MB / 1.161 GB, free: 8.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009869/0.6607, allocations: 0.9631 MB / 1.162 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.662, allocations: 1.078 MB / 1.163 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.6636, allocations: 1.153 MB / 1.164 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.6637, allocations: 75.98 kB / 1.164 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.6673, allocations: 2.723 MB / 1.167 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.6677, allocations: 466.7 kB / 1.167 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.6683, allocations: 0.6844 MB / 1.168 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.6711, allocations: 2.886 MB / 1.171 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6711, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6711, allocations: 4 kB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6712, allocations: 4 kB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003419/0.6746, allocations: 1.761 MB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6746, allocations: 12.03 kB / 1.173 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.6748, allocations: 168.5 kB / 1.173 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.6768, allocations: 346.1 kB / 1.173 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6779, allocations: 0.8429 MB / 1.174 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.678, allocations: 74 kB / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.6781, allocations: 107.8 kB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.6799, allocations: 1.191 MB / 1.175 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6799, allocations: 0 / 1.175 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.68, allocations: 48 kB / 1.175 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.6801, allocations: 58.06 kB / 1.175 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6819, allocations: 1.246 MB / 1.177 GB, free: 8.203 MB / 0.9356 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.00536/0.6873, allocations: 5.071 MB / 1.181 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6887, allocations: 1.158 MB / 1.183 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.6893, allocations: 0.4973 MB / 1.183 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.6894, allocations: 24.58 kB / 1.183 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.69, allocations: 488.2 kB / 1.184 GB, free: 432 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 1.713e-06/0.69, allocations: 0 / 1.184 GB, free: 432 kB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.001693/0.6917, allocations: 1.161 MB / 1.185 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6918, allocations: 60.06 kB / 1.185 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.6923, allocations: 0.5706 MB / 1.185 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.6924, allocations: 41.7 kB / 1.185 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.6927, allocations: 463.6 kB / 1.186 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.6929, allocations: 272.2 kB / 1.186 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.6931, allocations: 130.6 kB / 1.186 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6933, allocations: 386.8 kB / 1.187 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.6937, allocations: 329.8 kB / 1.187 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.6943, allocations: 444.8 kB / 1.187 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6953, allocations: 0.8271 MB / 1.188 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6954, allocations: 0 / 1.188 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001209/0.6966, allocations: 0.9296 MB / 1.189 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6966, allocations: 17.02 kB / 1.189 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6966, allocations: 3.938 kB / 1.189 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6966, allocations: 8 kB / 1.189 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.6972, allocations: 151.8 kB / 1.189 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6972, allocations: 12.28 kB / 1.189 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.6981, allocations: 159.2 kB / 1.189 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.6981, allocations: 27.98 kB / 1.189 GB, free: 10.34 MB / 0.9512 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.0003536/0.6985, allocations: 327.6 kB / 1.19 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6986, allocations: 83.06 kB / 1.19 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.6988, allocations: 123.6 kB / 1.19 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6988, allocations: 8 kB / 1.19 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6988, allocations: 0 / 1.19 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.7, allocations: 1.089 MB / 1.191 GB, free: 8.617 MB / 0.9512 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.002816/0.7028, allocations: 2.308 MB / 1.193 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7029, allocations: 0 / 1.193 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/0.7036, allocations: 171.8 kB / 1.193 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.7037, allocations: 4 kB / 1.193 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.7037, allocations: 20 kB / 1.193 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7037, allocations: 0 / 1.193 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7037, allocations: 4 kB / 1.193 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.7053, allocations: 1.358 MB / 1.195 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.7057, allocations: 252 kB / 1.195 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.7058, allocations: 16 kB / 1.195 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.7065, allocations: 103.8 kB / 1.195 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.7066, allocations: 40.59 kB / 1.195 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7066, allocations: 23.98 kB / 1.195 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004001/0.7071, allocations: 415.1 kB / 1.196 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7071, allocations: 0 / 1.196 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006993/0.7078, allocations: 367.1 kB / 1.196 GB, free: 3.438 MB / 0.9512 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 (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.002011/0.7098, allocations: 1.994 MB / 1.198 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.7108, allocations: 0.7942 MB / 1.199 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7108, allocations: 0.6875 kB / 1.199 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.7113, allocations: 435.5 kB / 1.199 GB, free: 196 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7135, allocations: 0.5508 MB / 1.2 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.7226, allocations: 7.897 MB / 1.207 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.7232, allocations: 1.14 MB / 1.208 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008146/0.724, allocations: 271.2 kB / 1.209 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.7245, allocations: 379.3 kB / 1.209 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.7245, allocations: 0 / 1.209 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9674/1.692, allocations: 24.78 MB / 1.233 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.692, allocations: 194.6 kB / 1.233 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.711, allocations: 0 / 1.233 GB, free: 13.05 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)