Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008593/0.0008595, allocations: 173.3 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205 MB / 0.576 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006621/0.0006622, allocations: 94.38 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 11.06 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5187/0.6532, allocations: 293 MB / 1.182 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.6727, allocations: 17.2 MB / 1.199 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.6753, allocations: 65.25 kB / 1.199 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.6791, allocations: 1.653 MB / 1.201 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.6917, allocations: 6.05 MB / 1.207 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.6974, allocations: 2.799 MB / 1.209 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00925/0.7067, allocations: 11.45 MB / 1.221 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.7094, allocations: 2.169 MB / 1.223 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.713, allocations: 2.471 MB / 1.225 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/0.7174, allocations: 2.765 MB / 1.228 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005601/0.718, allocations: 160 kB / 1.228 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.7281, allocations: 7.161 MB / 1.235 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.7292, allocations: 1.176 MB / 1.236 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.7312, allocations: 1.703 MB / 1.238 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008832/0.7401, allocations: 7.169 MB / 1.245 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.7401, allocations: 0 / 1.245 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7401, allocations: 0 / 1.245 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.582e-05/0.7401, allocations: 0 / 1.245 GB, free: 2.797 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.007269/0.7474, allocations: 3.586 MB / 1.248 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.7474, allocations: 8.031 kB / 1.248 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003873/0.7478, allocations: 375.2 kB / 1.249 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.7528, allocations: 0.9211 MB / 1.25 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.7552, allocations: 1.834 MB / 1.251 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.7553, allocations: 193.1 kB / 1.252 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.7557, allocations: 275.9 kB / 1.252 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.7601, allocations: 3.363 MB / 1.255 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.7601, allocations: 3.938 kB / 1.255 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.7603, allocations: 104 kB / 1.255 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.7605, allocations: 141 kB / 1.255 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.7653, allocations: 3.514 MB / 1.259 GB, free: 4.246 MB / 0.7761 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.01184/0.7772, allocations: 12.12 MB / 1.271 GB, free: 7.223 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.781, allocations: 3.504 MB / 1.274 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.7833, allocations: 1.802 MB / 1.276 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.7845, allocations: 1.497 MB / 1.277 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.7846, allocations: 64.75 kB / 1.277 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=278): time 3.837e-06/0.7846, allocations: 0 / 1.277 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=278): time 0.005371/0.79, allocations: 3.861 MB / 1.281 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.79, allocations: 81.59 kB / 1.281 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7914, allocations: 1.391 MB / 1.283 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.7916, allocations: 73.7 kB / 1.283 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.7921, allocations: 0.9842 MB / 1.284 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.7927, allocations: 0.9393 MB / 1.285 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.7929, allocations: 206.6 kB / 1.285 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.793, allocations: 309.1 kB / 1.285 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.7945, allocations: 1.078 MB / 1.286 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.7962, allocations: 1.377 MB / 1.287 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.7996, allocations: 2.631 MB / 1.29 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7996, allocations: 0 / 1.29 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003906/0.8035, allocations: 2.954 MB / 1.293 GB, free: 15.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.8035, allocations: 10.34 kB / 1.293 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.8035, allocations: 4.562 kB / 1.293 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.8036, allocations: 16 kB / 1.293 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.8054, allocations: 0.5071 MB / 1.293 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.8055, allocations: 12 kB / 1.293 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.8075, allocations: 341.6 kB / 1.294 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.8076, allocations: 83.98 kB / 1.294 GB, free: 14.77 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008151/0.8084, allocations: 0.6656 MB / 1.294 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.8087, allocations: 229.3 kB / 1.295 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.813, allocations: 3.089 MB / 1.298 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.813, allocations: 28 kB / 1.298 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.813, allocations: 4 kB / 1.298 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003313/0.8163, allocations: 2.634 MB / 1.3 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/0.824, allocations: 6.21 MB / 1.306 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.8241, allocations: 0 / 1.306 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/0.8263, allocations: 0.5462 MB / 1.307 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.8263, allocations: 12 kB / 1.307 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.8264, allocations: 63.92 kB / 1.307 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.8264, allocations: 8 kB / 1.307 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8264, allocations: 7.922 kB / 1.307 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/0.8322, allocations: 4.772 MB / 1.312 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.8331, allocations: 0.6266 MB / 1.312 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.8334, allocations: 51.94 kB / 1.312 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.8351, allocations: 241.6 kB / 1.313 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.8354, allocations: 165.9 kB / 1.313 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.8355, allocations: 83.97 kB / 1.313 GB, free: 11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001014/0.8365, allocations: 0.9462 MB / 1.314 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8366, allocations: 0 / 1.314 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001484/0.838, allocations: 1.002 MB / 1.315 GB, free: 9.051 MB / 0.8386 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 (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.00641/0.8445, allocations: 5.602 MB / 1.32 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.8479, allocations: 2.751 MB / 1.323 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8479, allocations: 4.375 kB / 1.323 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.8496, allocations: 1.5 MB / 1.324 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/0.8542, allocations: 1.301 MB / 1.326 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.8801, allocations: 22.22 MB / 1.347 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.8813, allocations: 1.91 MB / 1.349 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002448/0.8837, allocations: 0.8395 MB / 1.35 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.885, allocations: 1.085 MB / 1.351 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of SimCode: time 3.2e-07/0.885, allocations: 0 / 1.351 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6638/1.549, allocations: 65.2 MB / 1.415 GB, free: 360.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.549, allocations: 227.2 kB / 1.415 GB, free: 360.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/5.565, allocations: 2.031 kB / 1.415 GB, free: 360.2 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)