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.00109/0.00109, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001083/0.001083, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6971/0.6971, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.47 kB / 0.568 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.555/0.6728, allocations: 314.1 MB / 0.9508 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.6971, allocations: 18.45 MB / 0.9688 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.7003, allocations: 87.56 kB / 0.9689 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.7053, allocations: 2.242 MB / 0.9711 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/0.7219, allocations: 7.536 MB / 0.9785 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007616/0.7295, allocations: 3.266 MB / 0.9817 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.7396, allocations: 9.117 MB / 0.9906 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.7435, allocations: 3.113 MB / 0.9936 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.7491, allocations: 3.395 MB / 0.9969 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.7543, allocations: 3.232 MB / 1 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007216/0.755, allocations: 404 kB / 1 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.7677, allocations: 7.03 MB / 1.007 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.7696, allocations: 1.687 MB / 1.009 GB, free: 5.887 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00308/0.7727, allocations: 2.307 MB / 1.011 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.7858, allocations: 8.216 MB / 1.019 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7859, allocations: 0 / 1.019 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.36e-06/0.7859, allocations: 0 / 1.019 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.763e-05/0.786, allocations: 7.875 kB / 1.019 GB, free: 11.32 MB / 0.7794 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.01176/0.7977, allocations: 5.11 MB / 1.024 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7978, allocations: 8.625 kB / 1.024 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005388/0.7983, allocations: 463.5 kB / 1.025 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006325/0.8047, allocations: 1.036 MB / 1.026 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.8088, allocations: 2.261 MB / 1.028 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.809, allocations: 242.4 kB / 1.028 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/0.8095, allocations: 331.9 kB / 1.028 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006556/0.8161, allocations: 4.231 MB / 1.033 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.8162, allocations: 4 kB / 1.033 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.8165, allocations: 139.9 kB / 1.033 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.8166, allocations: 178.3 kB / 1.033 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/0.8239, allocations: 4.779 MB / 1.038 GB, free: 8.324 MB / 0.795 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.01813/0.842, allocations: 14.47 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.8478, allocations: 4.546 MB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/0.8511, allocations: 2.452 MB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2701/1.121, allocations: 1.61 MB / 1.06 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.073e-05/1.121, allocations: 76.72 kB / 1.06 GB, free: 326 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 6.813e-06/1.121, allocations: 1.375 kB / 1.06 GB, free: 326 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.01137/1.133, allocations: 5.547 MB / 1.066 GB, free: 324.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.133, allocations: 93.22 kB / 1.066 GB, free: 324.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/1.136, allocations: 1.682 MB / 1.067 GB, free: 324.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/1.136, allocations: 93.3 kB / 1.067 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/1.137, allocations: 1.155 MB / 1.069 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009806/1.138, allocations: 1.388 MB / 1.07 GB, free: 322.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/1.138, allocations: 0.5444 MB / 1.07 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.772e-05/1.138, allocations: 307.9 kB / 1.071 GB, free: 322 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/1.141, allocations: 1.568 MB / 1.072 GB, free: 321.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.144, allocations: 1.923 MB / 1.074 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/1.149, allocations: 3.768 MB / 1.078 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.149, allocations: 2.281 kB / 1.078 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006325/1.155, allocations: 4.191 MB / 1.082 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.156, allocations: 11.48 kB / 1.082 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.156, allocations: 7.875 kB / 1.082 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/1.156, allocations: 20.72 kB / 1.082 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/1.158, allocations: 0.6908 MB / 1.083 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.708e-05/1.158, allocations: 27.73 kB / 1.083 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/1.161, allocations: 267.7 kB / 1.083 GB, free: 317 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.161, allocations: 117 kB / 1.083 GB, free: 317 MB / 0.8106 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.001235/1.162, allocations: 0.7948 MB / 1.084 GB, free: 316.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/1.163, allocations: 305.4 kB / 1.084 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/1.169, allocations: 4.427 MB / 1.088 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.169, allocations: 40.88 kB / 1.088 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.169, allocations: 0 / 1.088 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004223/1.173, allocations: 3.795 MB / 1.092 GB, free: 313 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.184, allocations: 8.653 MB / 1.101 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.184, allocations: 3.594 kB / 1.101 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.187, allocations: 0.7178 MB / 1.101 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/1.187, allocations: 16 kB / 1.101 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/1.187, allocations: 94.53 kB / 1.101 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.187, allocations: 16 kB / 1.101 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.187, allocations: 11.92 kB / 1.101 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007163/1.194, allocations: 6.581 MB / 1.108 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.196, allocations: 0.8082 MB / 1.109 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/1.196, allocations: 72.55 kB / 1.109 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.198, allocations: 93.14 kB / 1.109 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/1.198, allocations: 234.6 kB / 1.109 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.198, allocations: 112 kB / 1.109 GB, free: 300.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00118/1.2, allocations: 1.153 MB / 1.11 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.2, allocations: 1.641 kB / 1.11 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002169/1.202, allocations: 1.244 MB / 1.111 GB, free: 297.9 MB / 0.8106 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.007828/1.21, allocations: 7.49 MB / 1.119 GB, free: 290.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004737/1.214, allocations: 3.95 MB / 1.123 GB, free: 286.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.214, allocations: 0 / 1.123 GB, free: 286.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/1.217, allocations: 2.16 MB / 1.125 GB, free: 284.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005961/1.223, allocations: 1.598 MB / 1.126 GB, free: 282.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/1.251, allocations: 25.81 MB / 1.152 GB, free: 257 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.252, allocations: 2.208 MB / 1.154 GB, free: 254.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003059/1.256, allocations: 1.201 MB / 1.155 GB, free: 253.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.257, allocations: 1.386 MB / 1.156 GB, free: 252.2 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/1.257, allocations: 0 / 1.156 GB, free: 252.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0966/1.354, allocations: 85.52 MB / 1.24 GB, free: 167.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.88, allocations: 7.922 kB / 1.24 GB, free: 167.3 MB / 0.8106 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)