Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_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.0007942/0.0007942, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004533/0.004533, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8659/0.8659, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1302, allocations: 83.41 MB / 0.598 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8105/0.9408, allocations: 308 MB / 0.8987 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.9625, allocations: 18.53 MB / 0.9168 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.9658, allocations: 74.56 kB / 0.9169 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.9702, allocations: 1.877 MB / 0.9187 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.9856, allocations: 6.897 MB / 0.9254 GB, free: 1.129 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007066/0.9927, allocations: 2.94 MB / 0.9283 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01391/1.007, allocations: 13.13 MB / 0.9411 GB, free: 1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003706/1.01, allocations: 2.577 MB / 0.9436 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00806/1.018, allocations: 2.808 MB / 0.9464 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/1.025, allocations: 3.272 MB / 0.9496 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005975/1.025, allocations: 197.4 kB / 0.9498 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/1.039, allocations: 8.1 MB / 0.9577 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/1.04, allocations: 1.468 MB / 0.9591 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002914/1.043, allocations: 2.084 MB / 0.9612 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/1.055, allocations: 8.631 MB / 0.9696 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.055, allocations: 2.5 kB / 0.9696 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/1.055, allocations: 0 / 0.9696 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.377e-05/1.055, allocations: 2.938 kB / 0.9696 GB, free: 8.895 MB / 0.6856 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.009175/1.064, allocations: 4.327 MB / 0.9738 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/1.064, allocations: 9.344 kB / 0.9738 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004794/1.065, allocations: 457.5 kB / 0.9743 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/1.07, allocations: 1.015 MB / 0.9752 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/1.073, allocations: 2.174 MB / 0.9774 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.074, allocations: 246.9 kB / 0.9776 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/1.074, allocations: 324.7 kB / 0.9779 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005823/1.08, allocations: 4.234 MB / 0.9821 GB, free: 200 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/1.08, allocations: 14.44 kB / 0.9821 GB, free: 188 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/1.08, allocations: 132.9 kB / 0.9822 GB, free: 160 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/1.08, allocations: 172.3 kB / 0.9824 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006494/1.087, allocations: 4.778 MB / 0.987 GB, free: 12.62 MB / 0.7012 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.01504/1.102, allocations: 14.42 MB / 1.001 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/1.107, allocations: 4.556 MB / 1.006 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/1.11, allocations: 2.452 MB / 1.008 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.112, allocations: 1.614 MB / 1.01 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/1.112, allocations: 81.64 kB / 1.01 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 4.869e-06/1.112, allocations: 0 / 1.01 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008083/1.12, allocations: 5.534 MB / 1.015 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/1.12, allocations: 94.48 kB / 1.015 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.122, allocations: 1.682 MB / 1.017 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/1.122, allocations: 97.7 kB / 1.017 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/1.123, allocations: 1.139 MB / 1.018 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008848/1.124, allocations: 1.314 MB / 1.019 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.124, allocations: 276.8 kB / 1.019 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/1.124, allocations: 301.1 kB / 1.02 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.126, allocations: 1.56 MB / 1.021 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/1.129, allocations: 1.919 MB / 1.023 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004973/1.134, allocations: 3.765 MB / 1.027 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.134, allocations: 4 kB / 1.027 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005714/1.14, allocations: 4.175 MB / 1.031 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.14, allocations: 4 kB / 1.031 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.14, allocations: 8 kB / 1.031 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.14, allocations: 23.5 kB / 1.031 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.142, allocations: 0.6991 MB / 1.032 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/1.142, allocations: 26.61 kB / 1.032 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.145, allocations: 472.9 kB / 1.032 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.145, allocations: 112 kB / 1.032 GB, free: 13.28 MB / 0.7481 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.001211/1.147, allocations: 0.802 MB / 1.033 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/1.147, allocations: 292.4 kB / 1.033 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/1.153, allocations: 4.435 MB / 1.038 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/1.153, allocations: 39.94 kB / 1.038 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.153, allocations: 4 kB / 1.038 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004813/1.158, allocations: 3.798 MB / 1.041 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.17, allocations: 8.65 MB / 1.05 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.17, allocations: 0 / 1.05 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.173, allocations: 0.7204 MB / 1.051 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/1.173, allocations: 12 kB / 1.051 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.173, allocations: 91.91 kB / 1.051 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/1.173, allocations: 18.81 kB / 1.051 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.173, allocations: 8 kB / 1.051 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008122/1.181, allocations: 6.569 MB / 1.057 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.182, allocations: 0.805 MB / 1.058 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/1.183, allocations: 72 kB / 1.058 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.185, allocations: 261.2 kB / 1.058 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.185, allocations: 241.1 kB / 1.058 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.185, allocations: 112 kB / 1.059 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001332/1.187, allocations: 1.157 MB / 1.06 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.187, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002198/1.189, allocations: 1.228 MB / 1.061 GB, free: 15.77 MB / 0.7794 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.009064/1.198, allocations: 7.505 MB / 1.068 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00526/1.203, allocations: 3.92 MB / 1.072 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.203, allocations: 4.375 kB / 1.072 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/1.206, allocations: 2.156 MB / 1.074 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006997/1.213, allocations: 1.525 MB / 1.076 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/1.252, allocations: 30.52 MB / 1.105 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.253, allocations: 2.193 MB / 1.108 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003704/1.257, allocations: 1.216 MB / 1.109 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.259, allocations: 1.386 MB / 1.11 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/1.259, allocations: 0 / 1.11 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.951/5.209, allocations: 81.4 MB / 1.19 GB, free: 399 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/5.21, allocations: 251.9 kB / 1.19 GB, free: 398.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.329/9.539, allocations: 0 / 1.19 GB, free: 398.8 MB / 0.8731 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)