Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_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.0008884/0.0008884, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00499/0.00499, allocations: 170 kB / 16.26 MB, free: 6.613 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003155, allocations: 16 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5001, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6983/1.198, allocations: 307.7 MB / 1.324 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01884/1.217, allocations: 18.49 MB / 1.342 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/1.22, allocations: 75.97 kB / 1.342 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/1.223, allocations: 1.876 MB / 1.344 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01305/1.236, allocations: 6.9 MB / 1.35 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005837/1.242, allocations: 2.943 MB / 1.353 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.254, allocations: 13.25 MB / 1.366 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/1.257, allocations: 2.577 MB / 1.369 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/1.262, allocations: 2.805 MB / 1.371 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/1.266, allocations: 3.26 MB / 1.375 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003365/1.266, allocations: 196.2 kB / 1.375 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/1.278, allocations: 8.101 MB / 1.383 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/1.28, allocations: 1.467 MB / 1.384 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/1.282, allocations: 2.082 MB / 1.386 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.293, allocations: 8.383 MB / 1.394 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.293, allocations: 0 / 1.394 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.293, allocations: 0 / 1.394 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.293e-05/1.293, allocations: 0 / 1.394 GB, free: 0.5898 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009976/1.303, allocations: 4.324 MB / 1.399 GB, free: 12.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.303, allocations: 12.03 kB / 1.399 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005256/1.304, allocations: 458.1 kB / 1.399 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/1.31, allocations: 1.008 MB / 1.4 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/1.313, allocations: 2.159 MB / 1.402 GB, free: 8.578 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.313, allocations: 242.7 kB / 1.402 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/1.313, allocations: 323 kB / 1.403 GB, free: 8.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006191/1.32, allocations: 4.244 MB / 1.407 GB, free: 3.715 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.344e-05/1.32, allocations: 7.906 kB / 1.407 GB, free: 3.707 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/1.32, allocations: 135.7 kB / 1.407 GB, free: 3.578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/1.32, allocations: 182.3 kB / 1.407 GB, free: 3.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/1.327, allocations: 4.772 MB / 1.412 GB, free: 14.62 MB / 1.029 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.01611/1.343, allocations: 14.41 MB / 1.426 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/1.349, allocations: 4.553 MB / 1.43 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/1.352, allocations: 2.451 MB / 1.433 GB, free: 8.387 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.354, allocations: 1.611 MB / 1.434 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/1.354, allocations: 85.62 kB / 1.434 GB, free: 6.363 MB / 1.045 GB Notification: Performance of pre-optimization done (n=392): time 4.96e-06/1.354, allocations: 0 / 1.434 GB, free: 6.363 MB / 1.045 GB Notification: Performance of matching and sorting (n=392): time 0.008305/1.362, allocations: 5.527 MB / 1.44 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.362, allocations: 98.42 kB / 1.44 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/1.364, allocations: 1.684 MB / 1.441 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.364, allocations: 93.7 kB / 1.442 GB, free: 14.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/1.365, allocations: 1.139 MB / 1.443 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009682/1.366, allocations: 1.31 MB / 1.444 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/1.366, allocations: 276.7 kB / 1.444 GB, free: 12.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/1.366, allocations: 301.1 kB / 1.444 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/1.369, allocations: 1.564 MB / 1.446 GB, free: 10.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/1.371, allocations: 1.92 MB / 1.448 GB, free: 8.297 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.377, allocations: 3.762 MB / 1.452 GB, free: 4.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.377, allocations: 4 kB / 1.452 GB, free: 4.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006086/1.383, allocations: 4.169 MB / 1.456 GB, free: 256 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.383, allocations: 13.39 kB / 1.456 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.383, allocations: 11.94 kB / 1.456 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.383, allocations: 16 kB / 1.456 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/1.386, allocations: 0.7028 MB / 1.456 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/1.386, allocations: 23.94 kB / 1.456 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.389, allocations: 476.7 kB / 1.457 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.389, allocations: 116 kB / 1.457 GB, free: 14.9 MB / 1.076 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 (430): * Single equations (assignments): 430 * 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.001324/1.39, allocations: 0.8015 MB / 1.458 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/1.39, allocations: 288.5 kB / 1.458 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006775/1.397, allocations: 4.44 MB / 1.462 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.397, allocations: 36 kB / 1.462 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.397, allocations: 0 / 1.462 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005107/1.402, allocations: 3.799 MB / 1.466 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.415, allocations: 8.636 MB / 1.475 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.415, allocations: 0 / 1.475 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.418, allocations: 0.722 MB / 1.475 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.029e-05/1.418, allocations: 12 kB / 1.475 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/1.418, allocations: 91.97 kB / 1.475 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/1.418, allocations: 16 kB / 1.475 GB, free: 11.88 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.418, allocations: 7.938 kB / 1.475 GB, free: 11.88 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008805/1.427, allocations: 6.562 MB / 1.482 GB, free: 5.219 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.428, allocations: 0.7934 MB / 1.483 GB, free: 4.402 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.429, allocations: 75.98 kB / 1.483 GB, free: 4.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.431, allocations: 265.4 kB / 1.483 GB, free: 4.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003993/1.431, allocations: 242.5 kB / 1.483 GB, free: 3.832 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.432, allocations: 116 kB / 1.483 GB, free: 3.719 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001455/1.433, allocations: 1.153 MB / 1.484 GB, free: 2.543 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.433, allocations: 0 / 1.484 GB, free: 2.543 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002295/1.435, allocations: 1.232 MB / 1.486 GB, free: 1.309 MB / 1.092 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.009632/1.445, allocations: 7.491 MB / 1.493 GB, free: 9.742 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005524/1.451, allocations: 3.921 MB / 1.497 GB, free: 5.809 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.451, allocations: 448 / 1.497 GB, free: 5.809 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002749/1.453, allocations: 2.156 MB / 1.499 GB, free: 3.652 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/1.46, allocations: 1.534 MB / 1.5 GB, free: 2.137 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04064/1.501, allocations: 30.51 MB / 1.53 GB, free: 2.031 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.503, allocations: 2.205 MB / 1.532 GB, free: 15.79 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003802/1.507, allocations: 1.208 MB / 1.533 GB, free: 14.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/1.509, allocations: 1.386 MB / 1.535 GB, free: 13.19 MB / 1.154 GB Notification: Performance of SimCode: time 8.82e-07/1.509, allocations: 0 / 1.535 GB, free: 13.19 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.619, allocations: 81.17 MB / 1.614 GB, free: 12.87 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/1.619, allocations: 250.8 kB / 1.614 GB, free: 12.61 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/5.312, allocations: 0 / 1.614 GB, free: 12.61 MB / 1.232 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)