Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.001087/0.001087, 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.001032/0.001032, allocations: 198.1 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.18/1.18, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.358/2.358, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 71.55 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2251, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6094/0.8345, allocations: 201.9 MB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007432/0.842, allocations: 6.453 MB / 1.256 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.8431, allocations: 30.78 kB / 1.256 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.8445, allocations: 0.6463 MB / 1.256 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.849, allocations: 2.521 MB / 1.259 GB, free: 2.137 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.001211/0.8502, allocations: 0.6369 MB / 1.259 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.8538, allocations: 4.836 MB / 1.264 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009597/0.8548, allocations: 0.9587 MB / 1.265 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.8562, allocations: 1.082 MB / 1.266 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.8581, allocations: 1.144 MB / 1.267 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.8583, allocations: 71.5 kB / 1.267 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.8626, allocations: 2.728 MB / 1.27 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.8631, allocations: 469.7 kB / 1.27 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000826/0.8639, allocations: 0.6799 MB / 1.271 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.8679, allocations: 2.893 MB / 1.274 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.868, allocations: 0 / 1.274 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.02e-07/0.868, allocations: 1.156 kB / 1.274 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.868, allocations: 0 / 1.274 GB, free: 1.824 MB / 0.9981 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.003589/0.8716, allocations: 1.768 MB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.8716, allocations: 13.78 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.8718, allocations: 164.4 kB / 1.276 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.8739, allocations: 343.6 kB / 1.276 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.875, allocations: 0.8404 MB / 1.277 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.875, allocations: 76.67 kB / 1.277 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.8752, allocations: 102 kB / 1.277 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.8768, allocations: 1.197 MB / 1.278 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.8769, allocations: 0 / 1.278 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.877, allocations: 44.27 kB / 1.278 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.877, allocations: 59.27 kB / 1.278 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.8786, allocations: 1.251 MB / 1.28 GB, free: 16.46 MB / 1.014 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.004937/0.8836, allocations: 5.073 MB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.8848, allocations: 1.167 MB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.8854, allocations: 0.5028 MB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.8855, allocations: 17.5 kB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005979/0.8861, allocations: 493.3 kB / 1.287 GB, free: 13.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 1.964e-06/0.8861, allocations: 4 kB / 1.287 GB, free: 13.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00162/0.8877, allocations: 1.151 MB / 1.288 GB, free: 13.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.8878, allocations: 59.78 kB / 1.288 GB, free: 13.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.8883, allocations: 0.5771 MB / 1.288 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.8884, allocations: 39.39 kB / 1.289 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.8886, allocations: 460.6 kB / 1.289 GB, free: 12.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.8888, allocations: 268.7 kB / 1.289 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.889, allocations: 133.9 kB / 1.289 GB, free: 12.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8891, allocations: 390 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.8895, allocations: 327.8 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.89, allocations: 449.9 kB / 1.29 GB, free: 12.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.8909, allocations: 0.8234 MB / 1.291 GB, free: 12.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8909, allocations: 1.188 kB / 1.291 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001162/0.8921, allocations: 0.9293 MB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8921, allocations: 7.062 kB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8921, allocations: 3.562 kB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8921, allocations: 6.875 kB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.8927, allocations: 159.1 kB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8928, allocations: 9.969 kB / 1.292 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.8936, allocations: 164.6 kB / 1.292 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.8937, allocations: 27.16 kB / 1.293 GB, free: 12.07 MB / 1.014 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.0003396/0.894, allocations: 330 kB / 1.293 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.8942, allocations: 79.94 kB / 1.293 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.8943, allocations: 112.3 kB / 1.293 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.8944, allocations: 15.06 kB / 1.293 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8944, allocations: 0.6562 kB / 1.293 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/0.8954, allocations: 1.085 MB / 1.294 GB, free: 11.44 MB / 1.014 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.002571/0.898, allocations: 2.312 MB / 1.296 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.898, allocations: 0 / 1.296 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.8988, allocations: 179.4 kB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.8988, allocations: 8 kB / 1.297 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.8988, allocations: 17.53 kB / 1.297 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8988, allocations: 5.938 kB / 1.297 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8989, allocations: 2.438 kB / 1.297 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.9003, allocations: 1.342 MB / 1.298 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.9006, allocations: 260 kB / 1.298 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9007, allocations: 21.34 kB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.9015, allocations: 95.56 kB / 1.298 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.9015, allocations: 52.39 kB / 1.298 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.9016, allocations: 29.3 kB / 1.298 GB, free: 10.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003605/0.902, allocations: 407.9 kB / 1.299 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.902, allocations: 0 / 1.299 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007518/0.9027, allocations: 366.8 kB / 1.299 GB, free: 10.41 MB / 1.014 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.001792/0.9045, allocations: 1.98 MB / 1.301 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008441/0.9054, allocations: 0.7953 MB / 1.302 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.9054, allocations: 0 / 1.302 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.9058, allocations: 422 kB / 1.302 GB, free: 9.648 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.9079, allocations: 0.569 MB / 1.303 GB, free: 9.609 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.9161, allocations: 7.895 MB / 1.31 GB, free: 6.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.9166, allocations: 1.136 MB / 1.312 GB, free: 5.895 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008026/0.9174, allocations: 273.2 kB / 1.312 GB, free: 5.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.9179, allocations: 381.9 kB / 1.312 GB, free: 5.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.9179, allocations: 1.094 kB / 1.312 GB, free: 5.832 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5982/1.516, allocations: 24.77 MB / 1.336 GB, free: 14.94 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.516, allocations: 194.6 kB / 1.337 GB, free: 14.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.621, allocations: 0 / 1.337 GB, free: 14.69 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)