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.0006929/0.0006929, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0007234/0.0007234, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.494/1.494, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004294/0.0004294, allocations: 19.94 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1706, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5781/0.7487, allocations: 269.5 MB / 1.051 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.7689, allocations: 15.81 MB / 1.066 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.772, allocations: 63.91 kB / 1.066 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.7758, allocations: 1.24 MB / 1.067 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.7888, allocations: 4.617 MB / 1.072 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.7945, allocations: 2.055 MB / 1.074 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009496/0.804, allocations: 9.32 MB / 1.083 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.8072, allocations: 1.899 MB / 1.085 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.8116, allocations: 2.382 MB / 1.087 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004182/0.8158, allocations: 2.616 MB / 1.09 GB, free: 6.277 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008038/0.8166, allocations: 164 kB / 1.09 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008376/0.825, allocations: 3.059 MB / 1.093 GB, free: 3.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.8268, allocations: 1.145 MB / 1.094 GB, free: 1.902 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.8285, allocations: 0.6642 MB / 1.095 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.8354, allocations: 4.524 MB / 1.099 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8354, allocations: 0 / 1.099 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8354, allocations: 0 / 1.099 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001661/0.8356, allocations: 0 / 1.099 GB, free: 12.7 MB / 0.8106 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.009573/0.8452, allocations: 3.586 MB / 1.103 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8453, allocations: 8.031 kB / 1.103 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008293/0.8461, allocations: 367 kB / 1.103 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/0.852, allocations: 0.9173 MB / 1.104 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.8556, allocations: 1.761 MB / 1.105 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.8558, allocations: 197 kB / 1.106 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.8564, allocations: 259.9 kB / 1.106 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005919/0.8623, allocations: 3.311 MB / 1.109 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.8624, allocations: 15.78 kB / 1.109 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.8627, allocations: 108 kB / 1.109 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.8628, allocations: 133 kB / 1.109 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005565/0.8684, allocations: 3.474 MB / 1.113 GB, free: 14.32 MB / 0.8262 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.01436/0.8828, allocations: 12.07 MB / 1.125 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.887, allocations: 3.507 MB / 1.128 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.8895, allocations: 1.81 MB / 1.13 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.8909, allocations: 1.497 MB / 1.131 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.891, allocations: 68.69 kB / 1.131 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=278): time 7.714e-06/0.891, allocations: 384 / 1.131 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=278): time 0.006159/0.8972, allocations: 3.861 MB / 1.135 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.8973, allocations: 81.59 kB / 1.135 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.8992, allocations: 1.339 MB / 1.136 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.8993, allocations: 77.7 kB / 1.137 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006578/0.9, allocations: 0.9763 MB / 1.137 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007737/0.9008, allocations: 0.9431 MB / 1.138 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.9009, allocations: 52 kB / 1.138 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.9011, allocations: 402.9 kB / 1.139 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.9027, allocations: 1.082 MB / 1.14 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.9045, allocations: 1.37 MB / 1.141 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.9064, allocations: 1.282 MB / 1.142 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.9065, allocations: 4 kB / 1.142 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004419/0.9109, allocations: 2.939 MB / 1.145 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9109, allocations: 8.562 kB / 1.145 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.9109, allocations: 8 kB / 1.145 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.911, allocations: 19.95 kB / 1.145 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.913, allocations: 0.5071 MB / 1.146 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/0.913, allocations: 19.94 kB / 1.146 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.9153, allocations: 339.4 kB / 1.146 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.9155, allocations: 83.98 kB / 1.146 GB, free: 10.43 MB / 0.8575 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.001087/0.9166, allocations: 0.6494 MB / 1.147 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/0.9171, allocations: 225.3 kB / 1.147 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.922, allocations: 3.088 MB / 1.15 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.922, allocations: 24 kB / 1.15 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.922, allocations: 3.953 kB / 1.15 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003589/0.9256, allocations: 2.637 MB / 1.153 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.9348, allocations: 6.174 MB / 1.159 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.9348, allocations: 0 / 1.159 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/0.9372, allocations: 0.554 MB / 1.159 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.228e-05/0.9372, allocations: 8 kB / 1.159 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.9374, allocations: 63.98 kB / 1.159 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.669e-05/0.9375, allocations: 8 kB / 1.159 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9375, allocations: 0 / 1.159 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/0.9443, allocations: 4.776 MB / 1.164 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.9457, allocations: 0.611 MB / 1.165 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004352/0.9462, allocations: 52 kB / 1.165 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.9482, allocations: 227.5 kB / 1.165 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.9485, allocations: 169.9 kB / 1.165 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.9487, allocations: 75.98 kB / 1.165 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001349/0.95, allocations: 0.9181 MB / 1.166 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.95, allocations: 0 / 1.166 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002234/0.9523, allocations: 0.9862 MB / 1.167 GB, free: 4.84 MB / 0.8731 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.007228/0.9595, allocations: 5.608 MB / 1.173 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.9636, allocations: 2.747 MB / 1.175 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9636, allocations: 1.125 kB / 1.175 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.9655, allocations: 1.507 MB / 1.177 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/0.9707, allocations: 1.287 MB / 1.178 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.9975, allocations: 17.33 MB / 1.195 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.9994, allocations: 1.89 MB / 1.197 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003208/1.003, allocations: 0.8356 MB / 1.198 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.004, allocations: 1.085 MB / 1.199 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of SimCode: time 9.02e-07/1.004, allocations: 0 / 1.199 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09216/1.096, allocations: 67.68 MB / 1.265 GB, free: 428 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.097, allocations: 188.9 kB / 1.265 GB, free: 188 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/4.12, allocations: 4.062 kB / 1.265 GB, free: 184 kB / 0.9669 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: