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.0011/0.0011, allocations: 95.88 kB / 15.68 MB, free: 488 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.001344/0.001344, allocations: 177.5 kB / 16.57 MB, free: 6.52 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.544/1.544, allocations: 223.2 MB / 240.5 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8315/0.8315, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 9.062 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.606/0.7549, allocations: 254.1 MB / 0.8049 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3824/1.137, allocations: 18.57 MB / 0.823 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/1.143, allocations: 75 kB / 0.8231 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0162/1.159, allocations: 1.879 MB / 0.8249 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.03331/1.192, allocations: 5.482 MB / 0.8303 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.013/1.205, allocations: 2.461 MB / 0.8327 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01439/1.22, allocations: 5.202 MB / 0.8378 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007626/1.228, allocations: 2.395 MB / 0.8401 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/1.239, allocations: 2.804 MB / 0.8429 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/1.247, allocations: 2.084 MB / 0.8449 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00209/1.249, allocations: 197.7 kB / 0.8451 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02003/1.269, allocations: 2.77 MB / 0.8478 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003904/1.273, allocations: 1.331 MB / 0.8491 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002997/1.276, allocations: 0.8011 MB / 0.8499 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008127/1.284, allocations: 4.884 MB / 0.8546 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.284, allocations: 0 / 0.8546 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.635e-06/1.284, allocations: 0 / 0.8546 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001926/1.285, allocations: 0 / 0.8546 GB, free: 23.89 MB / 0.6387 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.01206/1.297, allocations: 4.216 MB / 0.8588 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.297, allocations: 9.5 kB / 0.8588 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/1.298, allocations: 463.5 kB / 0.8592 GB, free: 22.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006578/1.304, allocations: 1.018 MB / 0.8602 GB, free: 21.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/1.309, allocations: 2.089 MB / 0.8622 GB, free: 21.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.309, allocations: 243.8 kB / 0.8625 GB, free: 21.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/1.31, allocations: 324.7 kB / 0.8628 GB, free: 21.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006363/1.317, allocations: 4.191 MB / 0.8669 GB, free: 20.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/1.317, allocations: 8.359 kB / 0.8669 GB, free: 20.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/1.317, allocations: 132.3 kB / 0.867 GB, free: 20.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.317, allocations: 168.3 kB / 0.8672 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006944/1.324, allocations: 4.76 MB / 0.8718 GB, free: 19.37 MB / 0.6387 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.02009/1.344, allocations: 14.4 MB / 0.8859 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/1.35, allocations: 4.538 MB / 0.8903 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/1.351, allocations: 1.529 MB / 0.8918 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/1.351, allocations: 89.98 kB / 0.8919 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=392): time 5.521e-06/1.351, allocations: 0 / 0.8919 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=392): time 0.009602/1.361, allocations: 5.502 MB / 0.8973 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/1.361, allocations: 94.77 kB / 0.8974 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/1.363, allocations: 1.664 MB / 0.899 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005931/1.364, allocations: 98.27 kB / 0.8991 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/1.365, allocations: 1.134 MB / 0.9002 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.366, allocations: 1.324 MB / 0.9015 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/1.366, allocations: 65.34 kB / 0.9015 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.367, allocations: 440 kB / 0.902 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/1.369, allocations: 1.551 MB / 0.9035 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/1.371, allocations: 1.888 MB / 0.9053 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/1.374, allocations: 1.83 MB / 0.9071 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.374, allocations: 0 / 0.9071 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006622/1.381, allocations: 4.149 MB / 0.9111 GB, free: 432 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.381, allocations: 4 kB / 0.9112 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.381, allocations: 11.95 kB / 0.9112 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/1.381, allocations: 20 kB / 0.9112 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.384, allocations: 0.6954 MB / 0.9119 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-05/1.384, allocations: 24.62 kB / 0.9119 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1.388, allocations: 473.6 kB / 0.9123 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004122/1.388, allocations: 118.3 kB / 0.9125 GB, free: 15.24 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001776/1.39, allocations: 0.7972 MB / 0.9132 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007985/1.391, allocations: 288.5 kB / 0.9135 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/1.398, allocations: 4.422 MB / 0.9178 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/1.398, allocations: 39.95 kB / 0.9179 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.398, allocations: 1.094 kB / 0.9179 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005351/1.404, allocations: 3.771 MB / 0.9215 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.419, allocations: 8.61 MB / 0.93 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.419, allocations: 0 / 0.93 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.422, allocations: 0.7239 MB / 0.9307 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.494e-05/1.422, allocations: 16 kB / 0.9307 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/1.423, allocations: 80.92 kB / 0.9308 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/1.423, allocations: 23.92 kB / 0.9308 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.423, allocations: 10.86 kB / 0.9308 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009139/1.432, allocations: 6.692 MB / 0.9373 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.434, allocations: 0.7981 MB / 0.9381 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/1.435, allocations: 72.19 kB / 0.9382 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.437, allocations: 266.5 kB / 0.9384 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.437, allocations: 241.2 kB / 0.9387 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.438, allocations: 114 kB / 0.9388 GB, free: 12.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001483/1.439, allocations: 1.139 MB / 0.9399 GB, free: 11.65 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.439, allocations: 0 / 0.9399 GB, free: 11.65 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003296/1.443, allocations: 1.223 MB / 0.9411 GB, free: 10.54 MB / 0.67 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 (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.009436/1.452, allocations: 8.26 MB / 0.9491 GB, free: 4.469 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005709/1.458, allocations: 3.899 MB / 0.9529 GB, free: 1.812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.458, allocations: 9.25 kB / 0.953 GB, free: 1.805 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002957/1.461, allocations: 2.13 MB / 0.955 GB, free: 400 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007357/1.468, allocations: 1.488 MB / 0.9565 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.485, allocations: 14.04 MB / 0.9702 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/1.486, allocations: 2.271 MB / 0.9724 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003966/1.49, allocations: 1.208 MB / 0.9736 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.492, allocations: 1.385 MB / 0.9749 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/1.492, allocations: 0 / 0.9749 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/1.642, allocations: 83.21 MB / 1.056 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.642, allocations: 215.7 kB / 1.056 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.424/6.067, allocations: 0 / 1.056 GB, free: 11.95 MB / 0.7794 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/linux/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) Environment - environmentSimulation: