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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004654/0.004654, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.00138/0.00138, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.502/2.502, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 76.02 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.26, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1996/0.4597, allocations: 204.2 MB / 1.441 GB, free: 11.93 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008602/0.4683, allocations: 6.387 MB / 1.448 GB, free: 5.523 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.4688, allocations: 35.81 kB / 1.448 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.4703, allocations: 0.7343 MB / 1.448 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004695/0.475, allocations: 2.668 MB / 1.451 GB, free: 2.07 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001272/0.4763, allocations: 0.7123 MB / 1.452 GB, free: 1.359 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.4794, allocations: 3.278 MB / 1.455 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.4806, allocations: 1.14 MB / 1.456 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.4823, allocations: 1.359 MB / 1.457 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.4839, allocations: 1.084 MB / 1.458 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.4841, allocations: 128 kB / 1.458 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.4875, allocations: 2.35 MB / 1.461 GB, free: 7.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.488, allocations: 0.5065 MB / 1.461 GB, free: 7.473 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.4888, allocations: 0.7391 MB / 1.462 GB, free: 6.73 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.4919, allocations: 2.804 MB / 1.465 GB, free: 3.918 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4919, allocations: 7.938 kB / 1.465 GB, free: 3.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4919, allocations: 0 / 1.465 GB, free: 3.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.4919, allocations: 4 kB / 1.465 GB, free: 3.906 MB / 1.186 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.003499/0.4954, allocations: 1.802 MB / 1.466 GB, free: 2.047 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4955, allocations: 12.03 kB / 1.466 GB, free: 2.035 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.4957, allocations: 160.6 kB / 1.467 GB, free: 1.867 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.4977, allocations: 350.9 kB / 1.467 GB, free: 1.523 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.499, allocations: 0.8863 MB / 1.468 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.4991, allocations: 78 kB / 1.468 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.4992, allocations: 99.95 kB / 1.468 GB, free: 424 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.501, allocations: 1.199 MB / 1.469 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5011, allocations: 0 / 1.469 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-05/0.5012, allocations: 40 kB / 1.469 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/0.5013, allocations: 66.05 kB / 1.469 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.5031, allocations: 1.246 MB / 1.47 GB, free: 13.82 MB / 1.201 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.005869/0.509, allocations: 5.266 MB / 1.476 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5105, allocations: 1.171 MB / 1.477 GB, free: 6.809 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/0.5112, allocations: 0.4973 MB / 1.477 GB, free: 6.305 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.5112, allocations: 16.64 kB / 1.477 GB, free: 6.289 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006758/0.5119, allocations: 488.3 kB / 1.478 GB, free: 5.797 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 1.984e-06/0.5119, allocations: 0 / 1.478 GB, free: 5.797 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.001817/0.5137, allocations: 1.161 MB / 1.479 GB, free: 4.633 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5138, allocations: 60.06 kB / 1.479 GB, free: 4.562 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.5144, allocations: 0.5706 MB / 1.479 GB, free: 3.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.5145, allocations: 41.7 kB / 1.479 GB, free: 3.934 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.5148, allocations: 484.6 kB / 1.48 GB, free: 3.453 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.515, allocations: 277.6 kB / 1.48 GB, free: 3.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.5152, allocations: 130.6 kB / 1.48 GB, free: 3.047 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.5154, allocations: 390.7 kB / 1.481 GB, free: 2.656 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.5159, allocations: 329.8 kB / 1.481 GB, free: 2.332 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.5165, allocations: 448.8 kB / 1.481 GB, free: 1.855 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5176, allocations: 0.8194 MB / 1.482 GB, free: 1 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5176, allocations: 4 kB / 1.482 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001299/0.5189, allocations: 0.934 MB / 1.483 GB, free: 56 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5189, allocations: 9.812 kB / 1.483 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5189, allocations: 4 kB / 1.483 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5189, allocations: 8 kB / 1.483 GB, free: 36 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.5196, allocations: 151.8 kB / 1.483 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5196, allocations: 15.88 kB / 1.483 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.5202, allocations: 67.84 kB / 1.483 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.5203, allocations: 27.94 kB / 1.483 GB, free: 15.78 MB / 1.217 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.0003776/0.5206, allocations: 337.5 kB / 1.484 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5208, allocations: 87.42 kB / 1.484 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.521, allocations: 107.8 kB / 1.484 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.521, allocations: 8 kB / 1.484 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.521, allocations: 0 / 1.484 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.5223, allocations: 1.093 MB / 1.485 GB, free: 14.05 MB / 1.217 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.00285/0.5251, allocations: 2.307 MB / 1.487 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5251, allocations: 0 / 1.487 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.5259, allocations: 171.8 kB / 1.487 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5259, allocations: 4 kB / 1.487 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.526, allocations: 23.98 kB / 1.487 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.526, allocations: 4 kB / 1.487 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.526, allocations: 4.031 kB / 1.487 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.5278, allocations: 1.356 MB / 1.489 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.5281, allocations: 252.4 kB / 1.489 GB, free: 9.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.5282, allocations: 16 kB / 1.489 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.5288, allocations: 24.11 kB / 1.489 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.5288, allocations: 48.53 kB / 1.489 GB, free: 9.727 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.5289, allocations: 31.98 kB / 1.489 GB, free: 9.695 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004369/0.5293, allocations: 415 kB / 1.49 GB, free: 9.293 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5294, allocations: 0 / 1.49 GB, free: 9.293 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006942/0.5301, allocations: 363.4 kB / 1.49 GB, free: 8.938 MB / 1.217 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.002141/0.5322, allocations: 1.988 MB / 1.492 GB, free: 6.926 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.5333, allocations: 0.8022 MB / 1.493 GB, free: 6.125 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5333, allocations: 0 / 1.493 GB, free: 6.125 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.5339, allocations: 427.6 kB / 1.493 GB, free: 5.707 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.5362, allocations: 0.5905 MB / 1.494 GB, free: 5.133 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008746/0.545, allocations: 7.281 MB / 1.501 GB, free: 13.68 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.5457, allocations: 1.143 MB / 1.502 GB, free: 12.51 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007028/0.5464, allocations: 271.2 kB / 1.502 GB, free: 12.24 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/0.547, allocations: 375.3 kB / 1.502 GB, free: 11.88 MB / 1.232 GB Notification: Performance of SimCode: time 2.31e-07/0.547, allocations: 0 / 1.502 GB, free: 11.88 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4979/1.045, allocations: 25.92 MB / 1.528 GB, free: 2.266 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.189/10.23, allocations: 4 kB / 1.528 GB, free: 2.262 MB / 1.248 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)