Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.006943/0.006943, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001539/0.001539, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.9537/0.9537, allocations: 143 MB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 82.02 MB / 0.6752 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5942/0.9548, allocations: 295.5 MB / 0.9637 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.9751, allocations: 17.08 MB / 0.9804 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.9785, allocations: 81.88 kB / 0.9805 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.9831, allocations: 1.975 MB / 0.9824 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01508/0.9982, allocations: 6.629 MB / 0.9889 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007082/1.005, allocations: 2.976 MB / 0.9918 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008736/1.014, allocations: 7.718 MB / 0.9993 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/1.018, allocations: 2.59 MB / 1.002 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/1.023, allocations: 2.854 MB / 1.005 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/1.027, allocations: 2.691 MB / 1.007 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007487/1.028, allocations: 332 kB / 1.008 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/1.04, allocations: 6.196 MB / 1.014 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001861/1.042, allocations: 1.33 MB / 1.015 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003429/1.046, allocations: 1.885 MB / 1.017 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/1.059, allocations: 7.129 MB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.059, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/1.059, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000104/1.059, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.0104/1.07, allocations: 4.239 MB / 1.028 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.07, allocations: 12.03 kB / 1.028 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005243/1.07, allocations: 378.5 kB / 1.028 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/1.077, allocations: 0.936 MB / 1.029 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/1.081, allocations: 1.936 MB / 1.031 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/1.081, allocations: 196.5 kB / 1.031 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/1.081, allocations: 257.9 kB / 1.031 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/1.087, allocations: 3.332 MB / 1.035 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/1.087, allocations: 3.984 kB / 1.035 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/1.087, allocations: 107.5 kB / 1.035 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.087, allocations: 137.1 kB / 1.035 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005809/1.093, allocations: 3.506 MB / 1.038 GB, free: 0.6133 MB / 0.7325 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.01544/1.109, allocations: 12.19 MB / 1.05 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/1.113, allocations: 3.51 MB / 1.054 GB, free: 68 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/1.116, allocations: 1.85 MB / 1.056 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.117, allocations: 1.49 MB / 1.057 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/1.118, allocations: 64.75 kB / 1.057 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 5.22e-06/1.118, allocations: 0 / 1.057 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006673/1.124, allocations: 3.898 MB / 1.061 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/1.124, allocations: 81.59 kB / 1.061 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.126, allocations: 1.372 MB / 1.062 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.126, allocations: 77.7 kB / 1.062 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/1.127, allocations: 1.002 MB / 1.063 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/1.128, allocations: 0.9941 MB / 1.064 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/1.129, allocations: 409 kB / 1.065 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/1.129, allocations: 305.1 kB / 1.065 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/1.13, allocations: 1.102 MB / 1.066 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/1.132, allocations: 1.355 MB / 1.067 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/1.136, allocations: 2.646 MB / 1.07 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.136, allocations: 3.938 kB / 1.07 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004866/1.141, allocations: 2.99 MB / 1.073 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.141, allocations: 9.719 kB / 1.073 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.141, allocations: 4 kB / 1.073 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/1.141, allocations: 16 kB / 1.073 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/1.143, allocations: 0.5115 MB / 1.073 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/1.143, allocations: 16 kB / 1.073 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.146, allocations: 186.5 kB / 1.074 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.146, allocations: 87.92 kB / 1.074 GB, free: 11.02 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.00119/1.147, allocations: 0.6455 MB / 1.074 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/1.147, allocations: 246.5 kB / 1.075 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.152, allocations: 3.108 MB / 1.078 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.152, allocations: 24 kB / 1.078 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.152, allocations: 0 / 1.078 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003783/1.156, allocations: 2.665 MB / 1.08 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009919/1.166, allocations: 6.217 MB / 1.086 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.166, allocations: 0 / 1.086 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.169, allocations: 0.5462 MB / 1.087 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/1.169, allocations: 11.94 kB / 1.087 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/1.169, allocations: 59.98 kB / 1.087 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/1.169, allocations: 8 kB / 1.087 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.169, allocations: 7.984 kB / 1.087 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006803/1.176, allocations: 4.571 MB / 1.091 GB, free: 8.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.177, allocations: 0.6277 MB / 1.092 GB, free: 8.008 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/1.178, allocations: 55.94 kB / 1.092 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.18, allocations: 59.98 kB / 1.092 GB, free: 7.895 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.18, allocations: 169.9 kB / 1.092 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.18, allocations: 75.97 kB / 1.092 GB, free: 7.652 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001343/1.182, allocations: 0.9461 MB / 1.093 GB, free: 6.711 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/1.182, allocations: 0 / 1.093 GB, free: 6.711 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00225/1.184, allocations: 0.9867 MB / 1.094 GB, free: 5.723 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.007534/1.191, allocations: 5.43 MB / 1.1 GB, free: 224 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00447/1.196, allocations: 2.774 MB / 1.102 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.196, allocations: 3.938 kB / 1.102 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/1.198, allocations: 1.511 MB / 1.104 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006196/1.204, allocations: 1.355 MB / 1.105 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.234, allocations: 19.53 MB / 1.124 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/1.236, allocations: 1.895 MB / 1.126 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002819/1.239, allocations: 0.8513 MB / 1.127 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.24, allocations: 1.089 MB / 1.128 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/1.24, allocations: 0 / 1.128 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.342, allocations: 68.44 MB / 1.195 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.43, allocations: 16.06 kB / 1.195 GB, free: 15.14 MB / 0.9044 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)