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.001108/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001096/0.001096, allocations: 191.3 kB / 16.25 MB, free: 6.621 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8405/0.8405, allocations: 143 MB / 433.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 67.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1234, allocations: 82.03 MB / 0.5939 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7335/0.857, allocations: 310.8 MB / 0.8974 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.8781, allocations: 18.42 MB / 0.9154 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.8811, allocations: 75.69 kB / 0.9155 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.8857, allocations: 1.933 MB / 0.9174 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.014/0.8997, allocations: 6.889 MB / 0.9241 GB, free: 1.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006639/0.9064, allocations: 2.966 MB / 0.927 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008997/0.9154, allocations: 9.105 MB / 0.9359 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003632/0.919, allocations: 3.048 MB / 0.9389 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00504/0.9241, allocations: 3.362 MB / 0.9422 GB, free: 16.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005112/0.9292, allocations: 3.433 MB / 0.9455 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.9303, allocations: 408.5 kB / 0.9459 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.9419, allocations: 7.293 MB / 0.953 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.944, allocations: 1.688 MB / 0.9547 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00331/0.9473, allocations: 2.31 MB / 0.9569 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.9584, allocations: 8.893 MB / 0.9656 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9584, allocations: 0 / 0.9656 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9584, allocations: 0 / 0.9656 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.726e-05/0.9584, allocations: 0 / 0.9656 GB, free: 10.37 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.01027/0.9687, allocations: 4.994 MB / 0.9705 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9688, allocations: 8.031 kB / 0.9705 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000474/0.9692, allocations: 466.1 kB / 0.9709 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/0.9751, allocations: 1.005 MB / 0.9719 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.9781, allocations: 2.178 MB / 0.974 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.9782, allocations: 242.6 kB / 0.9743 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.9787, allocations: 327.2 kB / 0.9746 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/0.9847, allocations: 4.234 MB / 0.9787 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.9848, allocations: 7 kB / 0.9787 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.9851, allocations: 137.2 kB / 0.9789 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.9852, allocations: 172.2 kB / 0.979 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.992, allocations: 4.782 MB / 0.9837 GB, free: 8.98 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.01541/1.007, allocations: 14.4 MB / 0.9978 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/1.013, allocations: 4.555 MB / 1.002 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/1.016, allocations: 2.448 MB / 1.005 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.018, allocations: 1.606 MB / 1.006 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.018, allocations: 81.02 kB / 1.006 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.37e-06/1.018, allocations: 0 / 1.006 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008252/1.026, allocations: 5.527 MB / 1.012 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.026, allocations: 102.5 kB / 1.012 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/1.028, allocations: 1.681 MB / 1.013 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/1.028, allocations: 97.64 kB / 1.013 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000721/1.029, allocations: 1.134 MB / 1.015 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.03, allocations: 1.32 MB / 1.016 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008147/1.031, allocations: 0.5522 MB / 1.016 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.031, allocations: 304 kB / 1.017 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.033, allocations: 1.568 MB / 1.018 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/1.036, allocations: 1.916 MB / 1.02 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005091/1.041, allocations: 3.77 MB / 1.024 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.041, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005979/1.047, allocations: 4.174 MB / 1.028 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.047, allocations: 8.062 kB / 1.028 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.047, allocations: 8 kB / 1.028 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/1.047, allocations: 27.92 kB / 1.028 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.05, allocations: 0.6928 MB / 1.029 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/1.05, allocations: 27.38 kB / 1.029 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/1.053, allocations: 480.7 kB / 1.029 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.053, allocations: 116 kB / 1.029 GB, free: 9.281 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.001209/1.054, allocations: 0.7957 MB / 1.03 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/1.054, allocations: 292.5 kB / 1.03 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006524/1.061, allocations: 4.431 MB / 1.035 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.061, allocations: 39.94 kB / 1.035 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.061, allocations: 4 kB / 1.035 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00501/1.066, allocations: 3.794 MB / 1.038 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.078, allocations: 8.645 MB / 1.047 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.078, allocations: 4.312 kB / 1.047 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00303/1.081, allocations: 0.7243 MB / 1.047 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/1.081, allocations: 16 kB / 1.047 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.081, allocations: 83.98 kB / 1.048 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/1.081, allocations: 15.98 kB / 1.048 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.081, allocations: 7.094 kB / 1.048 GB, free: 6.371 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/1.09, allocations: 6.572 MB / 1.054 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.091, allocations: 0.8049 MB / 1.055 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/1.091, allocations: 71.98 kB / 1.055 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.094, allocations: 267.5 kB / 1.055 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/1.094, allocations: 237.6 kB / 1.055 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.094, allocations: 112 kB / 1.055 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001414/1.096, allocations: 1.157 MB / 1.057 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/1.096, allocations: 4 kB / 1.057 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002226/1.098, allocations: 1.232 MB / 1.058 GB, free: 11.79 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.00927/1.107, allocations: 7.485 MB / 1.065 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0192/1.126, allocations: 9.839 MB / 1.075 GB, free: 10.51 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.126, allocations: 4 kB / 1.075 GB, free: 10.51 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002626/1.129, allocations: 2.146 MB / 1.077 GB, free: 8.438 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/1.135, allocations: 1.61 MB / 1.078 GB, free: 6.875 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03742/1.172, allocations: 30.19 MB / 1.108 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.174, allocations: 2.207 MB / 1.11 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003557/1.178, allocations: 1.214 MB / 1.111 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/1.179, allocations: 1.39 MB / 1.113 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/1.179, allocations: 0 / 1.113 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/2.184, allocations: 84.52 MB / 1.195 GB, free: 400.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/2.184, allocations: 260.5 kB / 1.195 GB, free: 400.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/6.025, allocations: 0 / 1.195 GB, free: 400.6 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)