Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 302.4 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 186.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008792/0.0008791, allocations: 85.52 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006486, allocations: 10.78 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.066/1.276, allocations: 269.5 MB / 1.242 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03607/1.312, allocations: 15.82 MB / 1.257 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/1.316, allocations: 63.62 kB / 1.257 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006171/1.322, allocations: 1.231 MB / 1.258 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01879/1.341, allocations: 4.629 MB / 1.263 GB, free: 8.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009514/1.351, allocations: 2.049 MB / 1.265 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01739/1.368, allocations: 9.321 MB / 1.274 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005169/1.374, allocations: 1.894 MB / 1.276 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007516/1.381, allocations: 2.393 MB / 1.278 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0071/1.388, allocations: 2.616 MB / 1.281 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/1.39, allocations: 160 kB / 1.281 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/1.404, allocations: 3.059 MB / 1.284 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002839/1.407, allocations: 1.149 MB / 1.285 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/1.409, allocations: 0.6642 MB / 1.286 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/1.42, allocations: 4.524 MB / 1.29 GB, free: 12.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.42, allocations: 0 / 1.29 GB, free: 12.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.206e-06/1.42, allocations: 0 / 1.29 GB, free: 12.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001718/1.421, allocations: 4 kB / 1.29 GB, free: 12.66 MB / 0.823 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.01678/1.437, allocations: 3.582 MB / 1.294 GB, free: 9.012 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.438, allocations: 12.02 kB / 1.294 GB, free: 9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/1.439, allocations: 371 kB / 1.294 GB, free: 8.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00994/1.449, allocations: 0.9094 MB / 1.295 GB, free: 7.715 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00613/1.455, allocations: 1.757 MB / 1.297 GB, free: 5.902 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/1.455, allocations: 197 kB / 1.297 GB, free: 5.707 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/1.457, allocations: 267.9 kB / 1.297 GB, free: 5.445 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.468, allocations: 3.303 MB / 1.3 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/1.468, allocations: 11.84 kB / 1.3 GB, free: 2.027 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004637/1.469, allocations: 112 kB / 1.3 GB, free: 1.918 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/1.469, allocations: 137 kB / 1.3 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/1.481, allocations: 3.467 MB / 1.304 GB, free: 14.3 MB / 0.8386 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.0294/1.51, allocations: 12.07 MB / 1.316 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008908/1.519, allocations: 3.504 MB / 1.319 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/1.525, allocations: 1.81 MB / 1.321 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002608/1.528, allocations: 1.497 MB / 1.322 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/1.528, allocations: 69.17 kB / 1.322 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=278): time 5.721e-06/1.528, allocations: 0 / 1.322 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278): time 0.01415/1.542, allocations: 3.853 MB / 1.326 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/1.542, allocations: 89.53 kB / 1.326 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/1.546, allocations: 1.347 MB / 1.327 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007215/1.547, allocations: 73.7 kB / 1.328 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.548, allocations: 0.9725 MB / 1.329 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.55, allocations: 0.947 MB / 1.329 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.551, allocations: 52 kB / 1.329 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004136/1.551, allocations: 398.9 kB / 1.33 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/1.556, allocations: 1.082 MB / 1.331 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/1.562, allocations: 1.372 MB / 1.332 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/1.567, allocations: 1.274 MB / 1.334 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/1.567, allocations: 4 kB / 1.334 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01263/1.58, allocations: 2.946 MB / 1.336 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/1.58, allocations: 8 kB / 1.336 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.58, allocations: 7.953 kB / 1.336 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.325e-05/1.58, allocations: 16 kB / 1.336 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/1.585, allocations: 0.5116 MB / 1.337 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.695e-05/1.585, allocations: 19.94 kB / 1.337 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/1.59, allocations: 332.8 kB / 1.337 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006077/1.591, allocations: 83.98 kB / 1.337 GB, free: 10.42 MB / 0.8698 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.002281/1.593, allocations: 0.6494 MB / 1.338 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.594, allocations: 225.3 kB / 1.338 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.604, allocations: 3.097 MB / 1.341 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/1.604, allocations: 27.95 kB / 1.341 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.604, allocations: 0 / 1.341 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008001/1.612, allocations: 2.634 MB / 1.344 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.632, allocations: 6.186 MB / 1.35 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.632, allocations: 4 kB / 1.35 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005471/1.637, allocations: 0.5462 MB / 1.35 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/1.638, allocations: 8 kB / 1.35 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003689/1.638, allocations: 67.98 kB / 1.35 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/1.638, allocations: 8 kB / 1.35 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.638, allocations: 0 / 1.35 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.653, allocations: 4.776 MB / 1.355 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.655, allocations: 0.611 MB / 1.356 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006957/1.656, allocations: 48 kB / 1.356 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/1.66, allocations: 232.4 kB / 1.356 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/1.661, allocations: 165.9 kB / 1.356 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/1.661, allocations: 75.98 kB / 1.356 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002093/1.663, allocations: 0.9258 MB / 1.357 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/1.663, allocations: 0 / 1.357 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003702/1.667, allocations: 0.9823 MB / 1.358 GB, free: 4.812 MB / 0.8855 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.01411/1.681, allocations: 5.588 MB / 1.364 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007885/1.689, allocations: 2.755 MB / 1.366 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.689, allocations: 0 / 1.366 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/1.693, allocations: 1.503 MB / 1.368 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/1.705, allocations: 1.284 MB / 1.369 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/1.751, allocations: 17.34 MB / 1.386 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.754, allocations: 1.894 MB / 1.388 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005444/1.759, allocations: 0.8317 MB / 1.389 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.762, allocations: 1.081 MB / 1.39 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.762, allocations: 0 / 1.39 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8183/2.581, allocations: 67.67 MB / 1.456 GB, free: 337.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/2.581, allocations: 202 kB / 1.456 GB, free: 337.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.891/8.472, allocations: 0 / 1.456 GB, free: 337.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)