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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00159/0.00159, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 62.7 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2362, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7712/1.007, allocations: 204.2 MB / 1.252 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007944/1.015, allocations: 6.366 MB / 1.258 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/1.017, allocations: 40.81 kB / 1.259 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/1.018, allocations: 0.7302 MB / 1.259 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00573/1.024, allocations: 2.677 MB / 1.262 GB, free: 2.504 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001614/1.026, allocations: 0.6982 MB / 1.263 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00336/1.029, allocations: 3.274 MB / 1.266 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.03, allocations: 1.154 MB / 1.267 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/1.033, allocations: 1.235 MB / 1.268 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.035, allocations: 1.094 MB / 1.269 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/1.035, allocations: 129.4 kB / 1.269 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/1.04, allocations: 2.355 MB / 1.272 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007377/1.041, allocations: 0.5178 MB / 1.272 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/1.042, allocations: 0.7421 MB / 1.273 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005942/1.048, allocations: 2.773 MB / 1.275 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.048, allocations: 1.25 kB / 1.275 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.836e-06/1.048, allocations: 0.9062 kB / 1.275 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.079e-05/1.048, allocations: 1.656 kB / 1.275 GB, free: 2.227 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.004815/1.053, allocations: 1.769 MB / 1.277 GB, free: 17.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.053, allocations: 10.7 kB / 1.277 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/1.053, allocations: 164.7 kB / 1.277 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/1.056, allocations: 348.8 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.057, allocations: 0.8383 MB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/1.057, allocations: 77.72 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.057, allocations: 100.4 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.059, allocations: 1.197 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.059, allocations: 0 / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.059, allocations: 44.03 kB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/1.059, allocations: 58.67 kB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/1.061, allocations: 1.252 MB / 1.281 GB, free: 16.88 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.006028/1.067, allocations: 5.141 MB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.069, allocations: 1.161 MB / 1.287 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/1.069, allocations: 0.4981 MB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/1.069, allocations: 23.52 kB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/1.07, allocations: 488.7 kB / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/1.07, allocations: 0 / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.001795/1.072, allocations: 1.155 MB / 1.289 GB, free: 13.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.072, allocations: 60.97 kB / 1.29 GB, free: 13.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/1.073, allocations: 0.5706 MB / 1.29 GB, free: 13.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/1.073, allocations: 42.58 kB / 1.29 GB, free: 13.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/1.073, allocations: 463.2 kB / 1.291 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.073, allocations: 270.3 kB / 1.291 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.073, allocations: 129.8 kB / 1.291 GB, free: 13.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.073, allocations: 387.6 kB / 1.291 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/1.074, allocations: 335.7 kB / 1.292 GB, free: 12.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/1.074, allocations: 446.5 kB / 1.292 GB, free: 12.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/1.075, allocations: 0.8205 MB / 1.293 GB, free: 12.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.075, allocations: 5.625 kB / 1.293 GB, free: 12.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001261/1.077, allocations: 0.9338 MB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.077, allocations: 5.5 kB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.077, allocations: 7.469 kB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.077, allocations: 8.062 kB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/1.077, allocations: 153.4 kB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.077, allocations: 8.5 kB / 1.294 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/1.078, allocations: 68.34 kB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.078, allocations: 27.06 kB / 1.294 GB, free: 12.54 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.0004284/1.079, allocations: 333.5 kB / 1.294 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.079, allocations: 80.84 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/1.079, allocations: 108.5 kB / 1.295 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.079, allocations: 8.875 kB / 1.295 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.079, allocations: 4.25 kB / 1.295 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/1.08, allocations: 1.091 MB / 1.296 GB, free: 11.91 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.002681/1.083, allocations: 2.311 MB / 1.298 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.083, allocations: 0.8438 kB / 1.298 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/1.084, allocations: 177.9 kB / 1.298 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.084, allocations: 6.531 kB / 1.298 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/1.084, allocations: 17 kB / 1.298 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.084, allocations: 6.219 kB / 1.298 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.084, allocations: 1 kB / 1.298 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.085, allocations: 1.347 MB / 1.299 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/1.086, allocations: 257.2 kB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.086, allocations: 17.03 kB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/1.086, allocations: 25.06 kB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/1.086, allocations: 47.41 kB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/1.086, allocations: 21.33 kB / 1.3 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003836/1.087, allocations: 416.3 kB / 1.3 GB, free: 10.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 1.3 GB, free: 10.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009126/1.088, allocations: 368.9 kB / 1.3 GB, free: 10.91 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.001907/1.09, allocations: 1.971 MB / 1.302 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.091, allocations: 1.03 MB / 1.303 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.091, allocations: 0.8125 kB / 1.303 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/1.092, allocations: 431 kB / 1.304 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.094, allocations: 0.5953 MB / 1.304 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/1.102, allocations: 7.498 MB / 1.312 GB, free: 7.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/1.103, allocations: 1.132 MB / 1.313 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009971/1.104, allocations: 278.9 kB / 1.313 GB, free: 6.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.104, allocations: 382 kB / 1.313 GB, free: 6.785 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.104, allocations: 0 / 1.313 GB, free: 6.785 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/1.172, allocations: 25.73 MB / 1.339 GB, free: 276 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/9.027, allocations: 9.141 kB / 1.339 GB, free: 268 kB / 1.014 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)