Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.006552/0.006552, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00147/0.00147, allocations: 201.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.473/2.473, allocations: 482.6 MB / 0.755 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 69.05 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8528/1.136, allocations: 314.3 MB / 1.549 GB, free: 3.941 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02009/1.156, allocations: 18.48 MB / 1.567 GB, free: 3.898 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/1.158, allocations: 88.66 kB / 1.567 GB, free: 3.898 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003784/1.162, allocations: 2.147 MB / 1.569 GB, free: 3.867 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.176, allocations: 7.31 MB / 1.576 GB, free: 3.582 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006593/1.183, allocations: 3.226 MB / 1.579 GB, free: 3.504 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.009087/1.192, allocations: 9.087 MB / 1.588 GB, free: 3.488 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/1.196, allocations: 3.112 MB / 1.591 GB, free: 3.148 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/1.201, allocations: 3.605 MB / 1.595 GB, free: 3.145 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/1.205, allocations: 3.195 MB / 1.598 GB, free: 3.137 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004828/1.206, allocations: 403.6 kB / 1.598 GB, free: 3.137 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/1.217, allocations: 6.989 MB / 1.605 GB, free: 3.062 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.218, allocations: 1.638 MB / 1.607 GB, free: 3.062 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/1.22, allocations: 2.293 MB / 1.609 GB, free: 2.75 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.231, allocations: 8.201 MB / 1.617 GB, free: 1.812 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.231, allocations: 1.031 kB / 1.617 GB, free: 1.812 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.282e-06/1.231, allocations: 0 / 1.617 GB, free: 1.812 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.104e-05/1.232, allocations: 0 / 1.617 GB, free: 1.812 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.009004/1.241, allocations: 5.039 MB / 1.622 GB, free: 15.8 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/1.241, allocations: 8.156 kB / 1.622 GB, free: 15.8 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004619/1.241, allocations: 473 kB / 1.622 GB, free: 15.74 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005321/1.246, allocations: 1.033 MB / 1.623 GB, free: 15.51 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.249, allocations: 2.194 MB / 1.625 GB, free: 14.92 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.249, allocations: 250.9 kB / 1.626 GB, free: 14.91 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/1.25, allocations: 334.6 kB / 1.626 GB, free: 14.9 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/1.255, allocations: 4.398 MB / 1.63 GB, free: 14.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/1.255, allocations: 5.812 kB / 1.63 GB, free: 14.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/1.255, allocations: 140 kB / 1.63 GB, free: 14.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.255, allocations: 208.3 kB / 1.631 GB, free: 14.59 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/1.262, allocations: 5.057 MB / 1.636 GB, free: 14.56 MB / 1.279 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.01461/1.276, allocations: 15.07 MB / 1.65 GB, free: 7.637 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/1.281, allocations: 4.568 MB / 1.655 GB, free: 7.449 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/1.283, allocations: 2.455 MB / 1.657 GB, free: 7.414 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.285, allocations: 1.61 MB / 1.659 GB, free: 5.715 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.285, allocations: 76.48 kB / 1.659 GB, free: 5.672 MB / 1.279 GB Notification: Performance of pre-optimization done (n=392): time 4.789e-06/1.285, allocations: 4 kB / 1.659 GB, free: 5.668 MB / 1.279 GB Notification: Performance of matching and sorting (n=392): time 0.007188/1.292, allocations: 5.548 MB / 1.664 GB, free: 4.656 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.292, allocations: 97.17 kB / 1.664 GB, free: 4.586 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.294, allocations: 1.711 MB / 1.666 GB, free: 3.914 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/1.294, allocations: 91.39 kB / 1.666 GB, free: 3.832 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008034/1.295, allocations: 1.247 MB / 1.667 GB, free: 2.863 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009726/1.296, allocations: 1.399 MB / 1.669 GB, free: 1.758 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/1.297, allocations: 0.6069 MB / 1.669 GB, free: 1.484 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.297, allocations: 302.9 kB / 1.669 GB, free: 1.188 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/1.299, allocations: 1.665 MB / 1.671 GB, free: 0.5898 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.302, allocations: 2.041 MB / 1.673 GB, free: 15.55 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/1.307, allocations: 3.922 MB / 1.677 GB, free: 13.44 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/1.307, allocations: 2.75 kB / 1.677 GB, free: 13.44 MB / 1.295 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.005964/1.313, allocations: 4.453 MB / 1.681 GB, free: 11.29 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.313, allocations: 5.75 kB / 1.681 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.313, allocations: 5.875 kB / 1.681 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.313, allocations: 21.06 kB / 1.681 GB, free: 11.29 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/1.316, allocations: 0.7628 MB / 1.682 GB, free: 11.17 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.316, allocations: 25.23 kB / 1.682 GB, free: 11.17 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.318, allocations: 306.4 kB / 1.682 GB, free: 10.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.318, allocations: 125 kB / 1.683 GB, free: 10.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.00117/1.319, allocations: 0.8131 MB / 1.683 GB, free: 10.39 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.32, allocations: 306.7 kB / 1.684 GB, free: 10.23 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/1.326, allocations: 4.428 MB / 1.688 GB, free: 6.938 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.326, allocations: 38.44 kB / 1.688 GB, free: 6.902 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.326, allocations: 4 kB / 1.688 GB, free: 6.898 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005279/1.332, allocations: 3.799 MB / 1.692 GB, free: 3.027 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.343, allocations: 8.641 MB / 1.7 GB, free: 10.34 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.343, allocations: 4 kB / 1.7 GB, free: 10.34 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/1.346, allocations: 0.7204 MB / 1.701 GB, free: 9.656 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/1.346, allocations: 19.94 kB / 1.701 GB, free: 9.637 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/1.347, allocations: 87.97 kB / 1.701 GB, free: 9.551 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.347, allocations: 12 kB / 1.701 GB, free: 9.539 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.347, allocations: 7.094 kB / 1.701 GB, free: 9.535 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/1.355, allocations: 6.6 MB / 1.707 GB, free: 2.844 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.357, allocations: 0.8029 MB / 1.708 GB, free: 2.02 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/1.357, allocations: 75.92 kB / 1.708 GB, free: 1.945 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.359, allocations: 82.42 kB / 1.708 GB, free: 1.867 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004243/1.359, allocations: 237.7 kB / 1.709 GB, free: 1.637 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.359, allocations: 116 kB / 1.709 GB, free: 1.523 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001405/1.361, allocations: 1.157 MB / 1.71 GB, free: 352 kB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.361, allocations: 0 / 1.71 GB, free: 352 kB / 1.311 GB Notification: Performance of remove unused functions: time 0.00217/1.363, allocations: 1.275 MB / 1.711 GB, free: 15.07 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.009682/1.373, allocations: 7.484 MB / 1.718 GB, free: 7.543 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005582/1.378, allocations: 4.102 MB / 1.722 GB, free: 3.488 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.378, allocations: 0 / 1.722 GB, free: 3.488 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002762/1.381, allocations: 2.153 MB / 1.724 GB, free: 1.414 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/1.387, allocations: 1.605 MB / 1.726 GB, free: 15.84 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/1.42, allocations: 26.11 MB / 1.752 GB, free: 5.477 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.422, allocations: 2.205 MB / 1.754 GB, free: 3.234 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.003198/1.425, allocations: 1.268 MB / 1.755 GB, free: 1.961 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/1.427, allocations: 1.39 MB / 1.756 GB, free: 0.5703 MB / 1.357 GB Notification: Performance of SimCode: time 5.11e-07/1.427, allocations: 0 / 1.756 GB, free: 0.5703 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.994/5.421, allocations: 85.9 MB / 1.84 GB, free: 11.66 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/19.17, allocations: 0 / 1.84 GB, free: 11.66 MB / 1.451 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)