Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.05471/0.05471, 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.0467/0.0467, allocations: 189.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 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 93.7 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.8477/1.058, allocations: 201.6 MB / 0.8766 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01386/1.072, allocations: 6.329 MB / 0.8827 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/1.075, allocations: 35.41 kB / 0.8828 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/1.077, allocations: 0.6576 MB / 0.8834 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009068/1.087, allocations: 2.514 MB / 0.8859 GB, free: 15.91 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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.002733/1.089, allocations: 0.6469 MB / 0.8865 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005556/1.095, allocations: 3.272 MB / 0.8897 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/1.097, allocations: 1.117 MB / 0.8908 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/1.1, allocations: 1.26 MB / 0.892 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/1.103, allocations: 1.174 MB / 0.8932 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/1.103, allocations: 132.3 kB / 0.8933 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/1.109, allocations: 2.466 MB / 0.8957 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007902/1.11, allocations: 0.5247 MB / 0.8962 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/1.111, allocations: 0.7393 MB / 0.8969 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006257/1.118, allocations: 2.932 MB / 0.8998 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.118, allocations: 0 / 0.8998 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.585e-06/1.118, allocations: 0 / 0.8998 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.678e-05/1.118, allocations: 0 / 0.8998 GB, free: 6.438 MB / 0.6075 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.00437/1.122, allocations: 1.773 MB / 0.9015 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.122, allocations: 8.031 kB / 0.9015 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/1.122, allocations: 164.6 kB / 0.9017 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/1.124, allocations: 350.2 kB / 0.902 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/1.126, allocations: 0.8427 MB / 0.9029 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/1.126, allocations: 74.02 kB / 0.9029 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/1.126, allocations: 104 kB / 0.903 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.128, allocations: 1.191 MB / 0.9042 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/1.128, allocations: 0 / 0.9042 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.128, allocations: 51.97 kB / 0.9042 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/1.128, allocations: 58.08 kB / 0.9043 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.13, allocations: 1.246 MB / 0.9055 GB, free: 452 kB / 0.6075 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.006577/1.137, allocations: 5.079 MB / 0.9105 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.138, allocations: 1.15 MB / 0.9116 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/1.139, allocations: 0.5046 MB / 0.9121 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.275e-05/1.139, allocations: 20.77 kB / 0.9121 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007898/1.14, allocations: 488.2 kB / 0.9126 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/1.14, allocations: 0 / 0.9126 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002013/1.142, allocations: 1.157 MB / 0.9137 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.142, allocations: 64.06 kB / 0.9138 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/1.143, allocations: 0.5744 MB / 0.9143 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/1.143, allocations: 45.69 kB / 0.9144 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/1.143, allocations: 459.6 kB / 0.9148 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/1.143, allocations: 272.1 kB / 0.9151 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/1.144, allocations: 126.7 kB / 0.9152 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.144, allocations: 386.8 kB / 0.9156 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/1.144, allocations: 333.8 kB / 0.9159 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/1.145, allocations: 448.7 kB / 0.9163 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.146, allocations: 0.8214 MB / 0.9171 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.146, allocations: 7.984 kB / 0.9171 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001369/1.147, allocations: 0.9257 MB / 0.918 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.147, allocations: 4 kB / 0.918 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.147, allocations: 4.344 kB / 0.918 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.147, allocations: 11.94 kB / 0.918 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/1.148, allocations: 155.8 kB / 0.9182 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.148, allocations: 11.98 kB / 0.9182 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.149, allocations: 163.1 kB / 0.9183 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/1.149, allocations: 28 kB / 0.9184 GB, free: 2.574 MB / 0.6231 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.0005452/1.15, allocations: 329.9 kB / 0.9187 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.15, allocations: 79.06 kB / 0.9188 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/1.15, allocations: 103.8 kB / 0.9189 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.15, allocations: 11.94 kB / 0.9189 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.15, allocations: 0 / 0.9189 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/1.151, allocations: 1.093 MB / 0.9199 GB, free: 0.8633 MB / 0.6231 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.003193/1.155, allocations: 2.317 MB / 0.9222 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.155, allocations: 3.938 kB / 0.9222 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/1.155, allocations: 178.6 kB / 0.9224 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.155, allocations: 4 kB / 0.9224 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/1.156, allocations: 20.02 kB / 0.9224 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.156, allocations: 4 kB / 0.9224 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.156, allocations: 0 / 0.9224 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.157, allocations: 1.35 MB / 0.9237 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/1.158, allocations: 248.1 kB / 0.924 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.158, allocations: 19.98 kB / 0.924 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/1.159, allocations: 102.9 kB / 0.9241 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/1.159, allocations: 48.59 kB / 0.9241 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/1.159, allocations: 27.92 kB / 0.9242 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004806/1.159, allocations: 411.1 kB / 0.9245 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.159, allocations: 0 / 0.9245 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009543/1.16, allocations: 375 kB / 0.9249 GB, free: 11.67 MB / 0.6387 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.002146/1.162, allocations: 1.973 MB / 0.9268 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.164, allocations: 1.032 MB / 0.9278 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.164, allocations: 0 / 0.9278 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/1.165, allocations: 427.5 kB / 0.9282 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/1.167, allocations: 0.5911 MB / 0.9288 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.178, allocations: 7.905 MB / 0.9365 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/1.179, allocations: 1.143 MB / 0.9377 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001084/1.18, allocations: 283.1 kB / 0.9379 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.18, allocations: 375.3 kB / 0.9383 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/1.18, allocations: 0 / 0.9383 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/1.231, allocations: 25.56 MB / 0.9632 GB, free: 4.582 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.231, allocations: 199.3 kB / 0.9634 GB, free: 4.332 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.566, allocations: 0 / 0.9634 GB, free: 4.332 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)