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.001222/0.001222, 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.001246/0.001246, allocations: 192 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.398/2.398, allocations: 437.1 MB / 0.7104 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.8693 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6055, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1794/0.785, allocations: 204.2 MB / 1.217 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008548/0.7936, allocations: 6.379 MB / 1.223 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.7945, allocations: 35.81 kB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.796, allocations: 0.7304 MB / 1.224 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.8011, allocations: 2.675 MB / 1.226 GB, free: 11.65 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.001366/0.8024, allocations: 0.6988 MB / 1.227 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.8052, allocations: 3.277 MB / 1.23 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.8063, allocations: 1.144 MB / 1.231 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.8078, allocations: 1.238 MB / 1.233 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.8093, allocations: 1.098 MB / 1.234 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.8095, allocations: 128 kB / 1.234 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.8129, allocations: 2.358 MB / 1.236 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.8134, allocations: 0.5143 MB / 1.237 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006544/0.814, allocations: 0.7391 MB / 1.237 GB, free: 428 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.8169, allocations: 2.778 MB / 1.24 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.817, allocations: 0 / 1.24 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.817, allocations: 0 / 1.24 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.817, allocations: 0 / 1.24 GB, free: 13.63 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.00338/0.8204, allocations: 1.757 MB / 1.242 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.8204, allocations: 16.02 kB / 1.242 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.8206, allocations: 164.6 kB / 1.242 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.8226, allocations: 350.1 kB / 1.242 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.8237, allocations: 0.8389 MB / 1.243 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.8237, allocations: 74.02 kB / 1.243 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.8239, allocations: 104 kB / 1.243 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.8255, allocations: 1.195 MB / 1.244 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8255, allocations: 0 / 1.244 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.8256, allocations: 43.98 kB / 1.244 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.8257, allocations: 62.06 kB / 1.244 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.8273, allocations: 1.246 MB / 1.246 GB, free: 7.645 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.005237/0.8326, allocations: 5.145 MB / 1.251 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.8339, allocations: 1.164 MB / 1.252 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.8345, allocations: 0.5012 MB / 1.252 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.8346, allocations: 20.78 kB / 1.252 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.456/1.291, allocations: 476.2 kB / 1.253 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.689e-06/1.291, allocations: 0 / 1.253 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00207/1.293, allocations: 1.159 MB / 1.254 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.293, allocations: 66.94 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/1.294, allocations: 0.5718 MB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.294, allocations: 37.45 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/1.294, allocations: 462 kB / 1.255 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/1.294, allocations: 268.8 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.294, allocations: 130.3 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.294, allocations: 385.2 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/1.295, allocations: 334.9 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/1.295, allocations: 448.7 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.297, allocations: 0.8229 MB / 1.257 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.297, allocations: 0.7812 kB / 1.257 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001372/1.298, allocations: 0.9342 MB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.298, allocations: 9.312 kB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.298, allocations: 2.719 kB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.298, allocations: 6.594 kB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.299, allocations: 156.1 kB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.299, allocations: 6.266 kB / 1.258 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/1.299, allocations: 63.48 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/1.299, allocations: 35.72 kB / 1.259 GB, free: 232.1 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.0004354/1.3, allocations: 335.2 kB / 1.259 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.3, allocations: 76.41 kB / 1.259 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/1.3, allocations: 109.8 kB / 1.259 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.3, allocations: 7.938 kB / 1.259 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.3, allocations: 0 / 1.259 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/1.301, allocations: 1.096 MB / 1.26 GB, free: 231 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.003121/1.305, allocations: 2.313 MB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.305, allocations: 1.219 kB / 1.262 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/1.305, allocations: 172 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.305, allocations: 3.281 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.306, allocations: 22.03 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.306, allocations: 6.969 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.306, allocations: 2.516 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/1.308, allocations: 1.349 MB / 1.264 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/1.308, allocations: 248.3 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.308, allocations: 17.39 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/1.309, allocations: 29.75 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.309, allocations: 41.05 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/1.309, allocations: 24.86 kB / 1.264 GB, free: 229 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005991/1.309, allocations: 415.5 kB / 1.265 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.309, allocations: 3.938 kB / 1.265 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001137/1.311, allocations: 366.9 kB / 1.265 GB, free: 228.7 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.002138/1.313, allocations: 1.974 MB / 1.267 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001744/1.314, allocations: 1.034 MB / 1.268 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.314, allocations: 0 / 1.268 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/1.315, allocations: 425.3 kB / 1.268 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.318, allocations: 0.5972 MB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/1.326, allocations: 7.48 MB / 1.276 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/1.327, allocations: 1.137 MB / 1.277 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0011/1.328, allocations: 275.3 kB / 1.278 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/1.328, allocations: 380.7 kB / 1.278 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.328, allocations: 3.172 kB / 1.278 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/1.616, allocations: 25.73 MB / 1.303 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/12.04, allocations: 6.016 kB / 1.303 GB, free: 201.7 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)