Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001462/0.001462, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002257/0.002257, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.956/2.956, allocations: 205.4 MB / 222.1 MB, free: 5.492 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 3.192/3.192, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.000878/0.0008781, allocations: 15.09 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4712, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.577/2.049, allocations: 239.3 MB / 1.021 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04284/2.091, allocations: 16.97 MB / 1.038 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007103/2.099, allocations: 59.38 kB / 1.038 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00846/2.107, allocations: 1.652 MB / 1.039 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03004/2.137, allocations: 4.814 MB / 1.044 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/2.152, allocations: 2.221 MB / 1.046 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0208/2.172, allocations: 4.357 MB / 1.05 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007977/2.181, allocations: 1.911 MB / 1.052 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/2.194, allocations: 2.263 MB / 1.054 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008317/2.203, allocations: 1.709 MB / 1.056 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002428/2.205, allocations: 156 kB / 1.056 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/2.226, allocations: 2.438 MB / 1.059 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00499/2.231, allocations: 1.048 MB / 1.06 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005066/2.236, allocations: 0.6641 MB / 1.06 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/2.254, allocations: 4.068 MB / 1.064 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/2.254, allocations: 4 kB / 1.064 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.766e-06/2.254, allocations: 3.984 kB / 1.064 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003078/2.255, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.02082/2.276, allocations: 3.45 MB / 1.068 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/2.276, allocations: 8.031 kB / 1.068 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002563/2.278, allocations: 371 kB / 1.068 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/2.291, allocations: 0.9134 MB / 1.069 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00904/2.3, allocations: 1.773 MB / 1.071 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/2.3, allocations: 193.1 kB / 1.071 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/2.302, allocations: 263.9 kB / 1.071 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/2.313, allocations: 3.288 MB / 1.074 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/2.313, allocations: 11.91 kB / 1.074 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004756/2.314, allocations: 108 kB / 1.074 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/2.314, allocations: 137 kB / 1.074 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/2.326, allocations: 3.471 MB / 1.078 GB, free: 14.4 MB / 0.795 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.03353/2.36, allocations: 12.07 MB / 1.09 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/2.37, allocations: 3.499 MB / 1.093 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003127/2.373, allocations: 1.497 MB / 1.095 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/2.373, allocations: 76.56 kB / 1.095 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 8.867e-06/2.373, allocations: 0 / 1.095 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.0152/2.389, allocations: 3.842 MB / 1.098 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/2.389, allocations: 85.55 kB / 1.098 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004078/2.393, allocations: 1.343 MB / 1.1 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/2.394, allocations: 73.7 kB / 1.1 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/2.396, allocations: 0.9763 MB / 1.101 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002648/2.398, allocations: 0.9432 MB / 1.102 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/2.399, allocations: 56 kB / 1.102 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0004377/2.399, allocations: 398.9 kB / 1.102 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/2.402, allocations: 1.075 MB / 1.103 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/2.406, allocations: 1.358 MB / 1.105 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/2.41, allocations: 1.274 MB / 1.106 GB, free: 332 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/2.41, allocations: 4 kB / 1.106 GB, free: 328 kB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00927/2.419, allocations: 2.939 MB / 1.109 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/2.419, allocations: 15.41 kB / 1.109 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/2.419, allocations: 12 kB / 1.109 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.323e-05/2.419, allocations: 12 kB / 1.109 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/2.423, allocations: 0.5033 MB / 1.109 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.108e-05/2.423, allocations: 23.89 kB / 1.109 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/2.429, allocations: 331.5 kB / 1.11 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/2.43, allocations: 83.98 kB / 1.11 GB, free: 12.37 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004872/2.435, allocations: 0.6494 MB / 1.11 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.437, allocations: 225.3 kB / 1.11 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/2.449, allocations: 3.08 MB / 1.113 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/2.449, allocations: 24 kB / 1.113 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/2.449, allocations: 4 kB / 1.113 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007235/2.456, allocations: 2.63 MB / 1.116 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/2.474, allocations: 6.154 MB / 1.122 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/2.474, allocations: 3.953 kB / 1.122 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/2.478, allocations: 0.5462 MB / 1.123 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.328e-05/2.478, allocations: 8 kB / 1.123 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/2.479, allocations: 63.92 kB / 1.123 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/2.479, allocations: 12 kB / 1.123 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.479, allocations: 0 / 1.123 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/2.494, allocations: 4.756 MB / 1.127 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/2.5, allocations: 0.6109 MB / 1.128 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/2.502, allocations: 48 kB / 1.128 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006876/2.509, allocations: 235.4 kB / 1.128 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/2.51, allocations: 158 kB / 1.128 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00049/2.51, allocations: 83.97 kB / 1.128 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003508/2.514, allocations: 0.922 MB / 1.129 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.71e-07/2.514, allocations: 0 / 1.129 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007306/2.521, allocations: 0.9745 MB / 1.13 GB, free: 6.848 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01521/2.537, allocations: 5.586 MB / 1.136 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01005/2.547, allocations: 2.739 MB / 1.138 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/2.547, allocations: 1.125 kB / 1.138 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004974/2.552, allocations: 1.496 MB / 1.14 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/2.564, allocations: 1.241 MB / 1.141 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/2.594, allocations: 11.7 MB / 1.152 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/2.597, allocations: 1.941 MB / 1.154 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.007153/2.604, allocations: 0.8395 MB / 1.155 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004026/2.608, allocations: 1.085 MB / 1.156 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.244e-06/2.609, allocations: 0 / 1.156 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.203/2.812, allocations: 66.47 MB / 1.221 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/2.812, allocations: 186.5 kB / 1.221 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/9.376, allocations: 0 / 1.221 GB, free: 9.723 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: