Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_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.001423/0.001424, 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.001358/0.001359, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 68.45 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2346, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6091/0.8437, allocations: 204.2 MB / 1.263 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007164/0.8509, allocations: 6.368 MB / 1.27 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.852, allocations: 39.28 kB / 1.27 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.8536, allocations: 0.7293 MB / 1.27 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.8586, allocations: 2.672 MB / 1.273 GB, free: 4.578 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.001354/0.8599, allocations: 0.7061 MB / 1.274 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.8624, allocations: 3.279 MB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.8636, allocations: 1.145 MB / 1.278 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.865, allocations: 1.244 MB / 1.279 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.8665, allocations: 1.092 MB / 1.28 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.8667, allocations: 127.9 kB / 1.28 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.8706, allocations: 2.357 MB / 1.283 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.8711, allocations: 0.5133 MB / 1.283 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006726/0.8717, allocations: 0.7414 MB / 1.284 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.8747, allocations: 2.772 MB / 1.287 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.8747, allocations: 0.9375 kB / 1.287 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.8747, allocations: 0 / 1.287 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8747, allocations: 0 / 1.287 GB, free: 4.289 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.003315/0.8781, allocations: 1.772 MB / 1.288 GB, free: 19.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.8781, allocations: 9.875 kB / 1.288 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.8783, allocations: 168.7 kB / 1.289 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.8802, allocations: 346.5 kB / 1.289 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.8812, allocations: 0.8363 MB / 1.29 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.8813, allocations: 76.55 kB / 1.29 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.8814, allocations: 100.1 kB / 1.29 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8829, allocations: 1.194 MB / 1.291 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.883, allocations: 2.031 kB / 1.291 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.883, allocations: 44.11 kB / 1.291 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.8831, allocations: 63.88 kB / 1.291 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.8847, allocations: 1.246 MB / 1.292 GB, free: 18.93 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.00508/0.8898, allocations: 5.143 MB / 1.297 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.891, allocations: 1.161 MB / 1.299 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.8916, allocations: 0.5023 MB / 1.299 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.8917, allocations: 17.41 kB / 1.299 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.8922, allocations: 489.5 kB / 1.3 GB, free: 15.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.8922, allocations: 1.031 kB / 1.3 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.001574/0.8938, allocations: 1.155 MB / 1.301 GB, free: 15.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.8939, allocations: 62.16 kB / 1.301 GB, free: 15.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.8944, allocations: 0.573 MB / 1.301 GB, free: 15.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.8944, allocations: 40.39 kB / 1.301 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8947, allocations: 467.8 kB / 1.302 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.8948, allocations: 264.6 kB / 1.302 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.895, allocations: 133.3 kB / 1.302 GB, free: 15.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8951, allocations: 384 kB / 1.302 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.8955, allocations: 329.9 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.896, allocations: 451.9 kB / 1.303 GB, free: 14.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.8969, allocations: 0.823 MB / 1.304 GB, free: 14.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8969, allocations: 1.062 kB / 1.304 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001099/0.898, allocations: 0.931 MB / 1.305 GB, free: 14.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.898, allocations: 11.28 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.898, allocations: 4.094 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.898, allocations: 7.375 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.8986, allocations: 163 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8986, allocations: 7.312 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.8992, allocations: 64.53 kB / 1.305 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.8993, allocations: 29.83 kB / 1.305 GB, free: 14.57 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.0003306/0.8996, allocations: 332.8 kB / 1.306 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.8997, allocations: 85.38 kB / 1.306 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.8999, allocations: 106.8 kB / 1.306 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8999, allocations: 8.688 kB / 1.306 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8999, allocations: 1.875 kB / 1.306 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.901, allocations: 1.088 MB / 1.307 GB, free: 13.94 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.002377/0.9034, allocations: 2.31 MB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9034, allocations: 0.7812 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.9041, allocations: 173 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9041, allocations: 4.875 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.9042, allocations: 20.34 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.9042, allocations: 6.281 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9042, allocations: 1.406 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.9056, allocations: 1.346 MB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.9058, allocations: 261.7 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.906, allocations: 15.97 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.9065, allocations: 23.12 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.9066, allocations: 44.94 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.9066, allocations: 26.61 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000331/0.907, allocations: 418.3 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.907, allocations: 0.875 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006465/0.9076, allocations: 366 kB / 1.312 GB, free: 12.93 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.001853/0.9095, allocations: 1.97 MB / 1.314 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.9108, allocations: 1.036 MB / 1.315 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.9108, allocations: 1.031 kB / 1.315 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.9112, allocations: 428.5 kB / 1.315 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.9134, allocations: 0.5871 MB / 1.316 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/0.9203, allocations: 7.499 MB / 1.323 GB, free: 9.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.9209, allocations: 1.136 MB / 1.324 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007418/0.9217, allocations: 279.3 kB / 1.324 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.922, allocations: 379.5 kB / 1.325 GB, free: 8.766 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/0.9221, allocations: 4 kB / 1.325 GB, free: 8.762 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.182/5.104, allocations: 25.72 MB / 1.35 GB, free: 1.203 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/20.13, allocations: 6.922 kB / 1.35 GB, free: 1.203 MB / 1.014 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)