Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_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.001183/0.001183, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.223/1.223, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.623/0.623, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 72.11 kB / 493 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8064/0.9241, allocations: 312 MB / 0.8605 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02196/0.9461, allocations: 18.67 MB / 0.8787 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.9503, allocations: 74.5 kB / 0.8788 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005221/0.9556, allocations: 1.876 MB / 0.8806 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/0.9718, allocations: 6.911 MB / 0.8874 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008148/0.98, allocations: 2.928 MB / 0.8902 GB, free: 496 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.9936, allocations: 13.13 MB / 0.9031 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004387/0.998, allocations: 2.651 MB / 0.9056 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006485/1.005, allocations: 2.885 MB / 0.9085 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/1.012, allocations: 3.367 MB / 0.9118 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008041/1.012, allocations: 229 kB / 0.912 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/1.028, allocations: 8.129 MB / 0.9199 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.031, allocations: 1.52 MB / 0.9214 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004277/1.035, allocations: 2.121 MB / 0.9235 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01716/1.052, allocations: 8.482 MB / 0.9317 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.052, allocations: 3.469 kB / 0.9318 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/1.052, allocations: 0 / 0.9318 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001192/1.052, allocations: 4 kB / 0.9318 GB, free: 7.52 MB / 0.6544 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.01194/1.064, allocations: 4.992 MB / 0.9366 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.064, allocations: 12.03 kB / 0.9366 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005185/1.065, allocations: 457.3 kB / 0.9371 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/1.071, allocations: 1.012 MB / 0.9381 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/1.075, allocations: 2.171 MB / 0.9402 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/1.075, allocations: 246.8 kB / 0.9404 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/1.075, allocations: 325.4 kB / 0.9407 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/1.081, allocations: 4.238 MB / 0.9449 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/1.081, allocations: 2.625 kB / 0.9449 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/1.082, allocations: 139.4 kB / 0.945 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.082, allocations: 168.5 kB / 0.9452 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/1.089, allocations: 4.778 MB / 0.9498 GB, free: 6.566 MB / 0.67 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.0163/1.105, allocations: 14.38 MB / 0.9639 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005476/1.11, allocations: 4.555 MB / 0.9683 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/1.114, allocations: 2.451 MB / 0.9707 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.115, allocations: 1.605 MB / 0.9723 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/1.115, allocations: 77.64 kB / 0.9724 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 5.34e-06/1.115, allocations: 0 / 0.9724 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.00833/1.124, allocations: 5.539 MB / 0.9778 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.124, allocations: 90.48 kB / 0.9779 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/1.126, allocations: 1.689 MB / 0.9795 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/1.126, allocations: 93.7 kB / 0.9796 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/1.127, allocations: 1.131 MB / 0.9807 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009516/1.128, allocations: 1.322 MB / 0.982 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007878/1.129, allocations: 0.5508 MB / 0.9825 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/1.129, allocations: 301.1 kB / 0.9828 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/1.131, allocations: 1.56 MB / 0.9843 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.133, allocations: 1.923 MB / 0.9862 GB, free: 208 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005078/1.138, allocations: 3.765 MB / 0.9899 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.139, allocations: 4 kB / 0.9899 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006163/1.145, allocations: 4.171 MB / 0.994 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.145, allocations: 8 kB / 0.994 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.145, allocations: 4 kB / 0.994 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.145, allocations: 23.98 kB / 0.994 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.148, allocations: 0.6971 MB / 0.9947 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/1.148, allocations: 19.44 kB / 0.9947 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.151, allocations: 488.7 kB / 0.9952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.151, allocations: 112 kB / 0.9953 GB, free: 6.902 MB / 0.7169 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.001421/1.153, allocations: 0.8055 MB / 0.9961 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/1.153, allocations: 288.5 kB / 0.9963 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/1.16, allocations: 4.427 MB / 1.001 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/1.16, allocations: 40 kB / 1.001 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.16, allocations: 4 kB / 1.001 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004984/1.165, allocations: 3.799 MB / 1.004 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.177, allocations: 8.645 MB / 1.013 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.177, allocations: 4 kB / 1.013 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/1.18, allocations: 0.7147 MB / 1.014 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.18, allocations: 20 kB / 1.014 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.18, allocations: 87.97 kB / 1.014 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.855e-05/1.18, allocations: 18.81 kB / 1.014 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.18, allocations: 4 kB / 1.014 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/1.189, allocations: 6.567 MB / 1.02 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.191, allocations: 0.7972 MB / 1.021 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/1.191, allocations: 72 kB / 1.021 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.193, allocations: 263.5 kB / 1.021 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/1.194, allocations: 242.2 kB / 1.021 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.194, allocations: 120 kB / 1.022 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001433/1.196, allocations: 1.153 MB / 1.023 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 0 / 1.023 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002342/1.198, allocations: 1.232 MB / 1.024 GB, free: 9.414 MB / 0.7481 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.009403/1.207, allocations: 7.464 MB / 1.031 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005397/1.213, allocations: 3.923 MB / 1.035 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.213, allocations: 5.312 kB / 1.035 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002691/1.215, allocations: 2.154 MB / 1.037 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006501/1.222, allocations: 1.536 MB / 1.039 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/1.262, allocations: 30.19 MB / 1.068 GB, free: 10.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.264, allocations: 2.204 MB / 1.07 GB, free: 8.555 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003803/1.268, allocations: 1.208 MB / 1.071 GB, free: 7.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.27, allocations: 1.386 MB / 1.073 GB, free: 5.953 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/1.27, allocations: 0 / 1.073 GB, free: 5.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/1.6, allocations: 81.85 MB / 1.153 GB, free: 415 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.601, allocations: 250.7 kB / 1.153 GB, free: 414.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/5.302, allocations: 3.938 kB / 1.153 GB, free: 414.8 MB / 0.8419 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)