Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_10_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.001208/0.001208, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001198/0.001198, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.16/1.16, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.192/2.192, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.91 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4695, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1587/0.6282, allocations: 201.6 MB / 1.214 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007458/0.6357, allocations: 6.329 MB / 1.22 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.6366, allocations: 35.81 kB / 1.22 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.6381, allocations: 0.6611 MB / 1.221 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.6427, allocations: 2.521 MB / 1.223 GB, free: 14.78 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.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.001268/0.644, allocations: 0.6351 MB / 1.224 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.6469, allocations: 3.288 MB / 1.227 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.648, allocations: 1.102 MB / 1.228 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.6495, allocations: 1.265 MB / 1.229 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.651, allocations: 1.174 MB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.6512, allocations: 128 kB / 1.231 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.654, allocations: 2.47 MB / 1.233 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.6543, allocations: 0.5182 MB / 1.233 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005594/0.6549, allocations: 0.743 MB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.6573, allocations: 2.929 MB / 1.237 GB, free: 496 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6574, allocations: 4 kB / 1.237 GB, free: 492 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6574, allocations: 0 / 1.237 GB, free: 492 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.6574, allocations: 0 / 1.237 GB, free: 492 kB / 0.9825 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.003182/0.6606, allocations: 1.773 MB / 1.239 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.6606, allocations: 8.031 kB / 1.239 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.6608, allocations: 160.6 kB / 1.239 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.6628, allocations: 350.1 kB / 1.239 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.6638, allocations: 0.8427 MB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.6639, allocations: 82 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.664, allocations: 96 kB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6656, allocations: 1.195 MB / 1.241 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.6656, allocations: 0 / 1.241 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.6657, allocations: 40 kB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/0.6658, allocations: 62.06 kB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.6674, allocations: 1.242 MB / 1.243 GB, free: 10.49 MB / 0.9981 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.004892/0.6723, allocations: 5.087 MB / 1.248 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6735, allocations: 1.153 MB / 1.249 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.6741, allocations: 0.4988 MB / 1.249 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.6742, allocations: 12.64 kB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006055/0.6748, allocations: 488.2 kB / 1.25 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 1.783e-06/0.6748, allocations: 0 / 1.25 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.001593/0.6764, allocations: 1.161 MB / 1.251 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6764, allocations: 60.06 kB / 1.251 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.677, allocations: 0.5706 MB / 1.252 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.677, allocations: 41.7 kB / 1.252 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.6773, allocations: 463.8 kB / 1.252 GB, free: 404 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.6775, allocations: 280 kB / 1.252 GB, free: 120 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3625/1.04, allocations: 123.4 kB / 1.252 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.04, allocations: 383.6 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.041, allocations: 331.8 kB / 1.253 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/1.041, allocations: 448.9 kB / 1.253 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.042, allocations: 0.8265 MB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.042, allocations: 0.6562 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001419/1.044, allocations: 0.9315 MB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.044, allocations: 6.516 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.044, allocations: 6.5 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.044, allocations: 5.938 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.045, allocations: 156.2 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.045, allocations: 14.53 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/1.046, allocations: 152.6 kB / 1.256 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/1.046, allocations: 28.91 kB / 1.256 GB, free: 233.7 MB / 0.9981 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.0004351/1.046, allocations: 334.5 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.046, allocations: 81.22 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/1.046, allocations: 105.9 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.047, allocations: 7.469 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.047, allocations: 5.219 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/1.048, allocations: 1.09 MB / 1.257 GB, free: 232.7 MB / 0.9981 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.003036/1.051, allocations: 2.306 MB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.051, allocations: 3.469 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/1.051, allocations: 176.6 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/1.052, allocations: 3.781 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/1.052, allocations: 15.31 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/1.052, allocations: 3.125 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.052, allocations: 4.969 kB / 1.26 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.053, allocations: 1.359 MB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/1.054, allocations: 251.6 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.054, allocations: 17.94 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/1.055, allocations: 100.7 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.055, allocations: 46.16 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/1.055, allocations: 24.48 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004369/1.055, allocations: 410.1 kB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.055, allocations: 0.9375 kB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000836/1.056, allocations: 370 kB / 1.262 GB, free: 230.4 MB / 0.9981 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.002144/1.058, allocations: 1.981 MB / 1.264 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.06, allocations: 1.032 MB / 1.265 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.06, allocations: 7.844 kB / 1.265 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/1.06, allocations: 425.6 kB / 1.265 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/1.063, allocations: 0.5837 MB / 1.266 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/1.071, allocations: 7.902 MB / 1.274 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.072, allocations: 1.138 MB / 1.275 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000903/1.072, allocations: 277.9 kB / 1.275 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/1.073, allocations: 376.5 kB / 1.275 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.073, allocations: 0 / 1.275 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.149/5.222, allocations: 25.55 MB / 1.3 GB, free: 204.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/5.222, allocations: 196.1 kB / 1.301 GB, free: 204 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/7.431, allocations: 0 / 1.301 GB, free: 204 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)