Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_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.001107/0.001107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001092/0.001092, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 72.8 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1706, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5064/0.677, allocations: 201.6 MB / 0.9798 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00761/0.6847, allocations: 6.267 MB / 0.9859 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000973/0.6857, allocations: 31.31 kB / 0.9859 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.6872, allocations: 0.6516 MB / 0.9866 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.6919, allocations: 2.506 MB / 0.989 GB, free: 5.039 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.001239/0.6932, allocations: 0.6422 MB / 0.9897 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003082/0.6963, allocations: 3.244 MB / 0.9928 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.6976, allocations: 1.119 MB / 0.9939 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.6995, allocations: 1.251 MB / 0.9951 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.7011, allocations: 1.166 MB / 0.9963 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.7012, allocations: 131.1 kB / 0.9964 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003659/0.7049, allocations: 2.467 MB / 0.9988 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.7053, allocations: 0.5154 MB / 0.9993 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006368/0.706, allocations: 0.741 MB / 1 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.7092, allocations: 2.932 MB / 1.003 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7092, allocations: 0 / 1.003 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7092, allocations: 0 / 1.003 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.7092, allocations: 0 / 1.003 GB, free: 2.078 MB / 0.7325 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.003299/0.7125, allocations: 1.759 MB / 1.005 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7126, allocations: 14.03 kB / 1.005 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.7127, allocations: 164.4 kB / 1.005 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.7147, allocations: 340.7 kB / 1.005 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.7157, allocations: 0.8308 MB / 1.006 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.7158, allocations: 79.66 kB / 1.006 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.7159, allocations: 101.2 kB / 1.006 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.7174, allocations: 1.189 MB / 1.007 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.7175, allocations: 1.453 kB / 1.007 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.7176, allocations: 42.91 kB / 1.007 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.7176, allocations: 63.36 kB / 1.007 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.7191, allocations: 1.248 MB / 1.009 GB, free: 15.38 MB / 0.7481 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.005101/0.7242, allocations: 5.054 MB / 1.014 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.7254, allocations: 1.15 MB / 1.015 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.726, allocations: 0.4994 MB / 1.015 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.7261, allocations: 17.19 kB / 1.015 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.7268, allocations: 497.4 kB / 1.016 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.7268, allocations: 0 / 1.016 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001636/0.7284, allocations: 1.151 MB / 1.017 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.7285, allocations: 68.41 kB / 1.017 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.729, allocations: 0.5612 MB / 1.017 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.7291, allocations: 42.2 kB / 1.017 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.7293, allocations: 456.2 kB / 1.018 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.7295, allocations: 273.3 kB / 1.018 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.7297, allocations: 129 kB / 1.018 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7299, allocations: 394.2 kB / 1.019 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.7303, allocations: 325.4 kB / 1.019 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.7308, allocations: 463.6 kB / 1.019 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.7317, allocations: 0.8261 MB / 1.02 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7317, allocations: 0 / 1.02 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001143/0.7329, allocations: 0.9238 MB / 1.021 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7329, allocations: 5.25 kB / 1.021 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7329, allocations: 3.406 kB / 1.021 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7329, allocations: 5.062 kB / 1.021 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.7335, allocations: 161.1 kB / 1.021 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7335, allocations: 10.81 kB / 1.021 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008801/0.7344, allocations: 135.9 kB / 1.021 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.7345, allocations: 30.8 kB / 1.021 GB, free: 6.895 MB / 0.7481 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.0003702/0.7348, allocations: 331.9 kB / 1.022 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7349, allocations: 77.56 kB / 1.022 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.7352, allocations: 104.4 kB / 1.022 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7352, allocations: 10.34 kB / 1.022 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7352, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.7362, allocations: 1.088 MB / 1.023 GB, free: 5.73 MB / 0.7481 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.002697/0.7389, allocations: 2.307 MB / 1.025 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7389, allocations: 3.938 kB / 1.025 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.7397, allocations: 179.5 kB / 1.025 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7397, allocations: 2.875 kB / 1.025 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.7398, allocations: 17.06 kB / 1.025 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.7398, allocations: 6.969 kB / 1.025 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7398, allocations: 2.375 kB / 1.025 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.7414, allocations: 1.482 MB / 1.027 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.7418, allocations: 261.6 kB / 1.027 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.7419, allocations: 10.75 kB / 1.027 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.7426, allocations: 100 kB / 1.027 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.7427, allocations: 41.06 kB / 1.027 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.7427, allocations: 29.33 kB / 1.027 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003819/0.7431, allocations: 404.8 kB / 1.028 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7431, allocations: 7.938 kB / 1.028 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007412/0.7439, allocations: 363.5 kB / 1.028 GB, free: 2.641 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.001957/0.7458, allocations: 2.104 MB / 1.03 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.7473, allocations: 1.038 MB / 1.031 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7473, allocations: 4.188 kB / 1.031 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.7478, allocations: 428 kB / 1.031 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.75, allocations: 0.5922 MB / 1.032 GB, free: 320 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.7588, allocations: 7.832 MB / 1.04 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7595, allocations: 1.136 MB / 1.041 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009411/0.7604, allocations: 275.1 kB / 1.041 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.7609, allocations: 367.3 kB / 1.041 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/0.7609, allocations: 4 kB / 1.041 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.7983, allocations: 25.54 MB / 1.066 GB, free: 15.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.7985, allocations: 194.7 kB / 1.067 GB, free: 15.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.03, allocations: 0 / 1.067 GB, free: 15.52 MB / 0.795 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)