Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",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.001097/0.001101, allocations: 108 kB / 15.6 MB, free: 132 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.001052/0.001052, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.137/1.137, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.8261/0.8261, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1212, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.3243/0.4455, allocations: 166.9 MB / 0.7574 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009936/0.4555, allocations: 8.497 MB / 0.7657 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.4563, allocations: 39.81 kB / 0.7657 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.4574, allocations: 0.5745 MB / 0.7663 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.4598, allocations: 1.535 MB / 0.7678 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.4616, allocations: 0.9884 MB / 0.7687 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.4646, allocations: 4.107 MB / 0.7727 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.4657, allocations: 1.312 MB / 0.774 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.4677, allocations: 1.497 MB / 0.7755 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.4691, allocations: 1.511 MB / 0.777 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.4693, allocations: 188 kB / 0.7771 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.471, allocations: 1.104 MB / 0.7782 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000509/0.4715, allocations: 0.6702 MB / 0.7789 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.4723, allocations: 1.031 MB / 0.7799 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.4746, allocations: 2.843 MB / 0.7827 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4746, allocations: 0 / 0.7827 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4746, allocations: 0 / 0.7827 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.4746, allocations: 0 / 0.7827 GB, free: 12.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003613/0.4782, allocations: 2.274 MB / 0.7849 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4783, allocations: 8.031 kB / 0.7849 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.4785, allocations: 223.9 kB / 0.7851 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.4789, allocations: 194.7 kB / 0.7853 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4804, allocations: 1.151 MB / 0.7864 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.4805, allocations: 115 kB / 0.7865 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.4807, allocations: 150.1 kB / 0.7867 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.4831, allocations: 1.919 MB / 0.7885 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.4832, allocations: 7.906 kB / 0.7885 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4833, allocations: 64 kB / 0.7886 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.4833, allocations: 36 kB / 0.7886 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/0.4867, allocations: 2.478 MB / 0.7911 GB, free: 3.586 MB / 0.6075 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.006601/0.4933, allocations: 6.157 MB / 0.7971 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.4964, allocations: 2.802 MB / 0.7998 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.4982, allocations: 1.421 MB / 0.8012 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.4996, allocations: 1.734 MB / 0.8029 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4996, allocations: 56.56 kB / 0.8029 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=237): time 3.407e-06/0.4997, allocations: 0 / 0.8029 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of matching and sorting (n=237): time 0.00476/0.5044, allocations: 3.43 MB / 0.8063 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5045, allocations: 81.39 kB / 0.8064 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.5053, allocations: 0.7782 MB / 0.8071 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.5054, allocations: 65.7 kB / 0.8072 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.5057, allocations: 490.2 kB / 0.8077 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.5061, allocations: 0.793 MB / 0.8084 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.5066, allocations: 347.6 kB / 0.8088 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.5067, allocations: 301.1 kB / 0.8091 GB, free: 308 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.5079, allocations: 0.898 MB / 0.8099 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.5094, allocations: 1.129 MB / 0.811 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.5123, allocations: 2.223 MB / 0.8132 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5123, allocations: 4 kB / 0.8132 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003353/0.5157, allocations: 2.432 MB / 0.8156 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5157, allocations: 4.469 kB / 0.8156 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5157, allocations: 7.938 kB / 0.8156 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5157, allocations: 16 kB / 0.8156 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.5172, allocations: 435.4 kB / 0.816 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.5173, allocations: 12 kB / 0.816 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/0.5181, allocations: 159 kB / 0.8162 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5182, allocations: 79.92 kB / 0.8163 GB, free: 8.793 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005067/0.5187, allocations: 445.2 kB / 0.8167 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.519, allocations: 142.2 kB / 0.8168 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.5229, allocations: 2.734 MB / 0.8195 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5229, allocations: 24 kB / 0.8195 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5229, allocations: 0 / 0.8195 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003035/0.526, allocations: 2.381 MB / 0.8218 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.5312, allocations: 4.317 MB / 0.8261 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5313, allocations: 0 / 0.8261 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.5327, allocations: 411.4 kB / 0.8265 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.5332, allocations: 97.69 kB / 0.8265 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.5333, allocations: 55.97 kB / 0.8266 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000608/0.5339, allocations: 1.113 MB / 0.8277 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.534, allocations: 4 kB / 0.8277 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/0.5391, allocations: 4.061 MB / 0.8317 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.5397, allocations: 482.5 kB / 0.8321 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.5399, allocations: 40 kB / 0.8322 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.5407, allocations: 55.97 kB / 0.8322 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.541, allocations: 137.8 kB / 0.8323 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5411, allocations: 71.97 kB / 0.8324 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005685/0.5416, allocations: 0.5497 MB / 0.8329 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5417, allocations: 0 / 0.8329 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001114/0.5428, allocations: 0.6475 MB / 0.8336 GB, free: 6.828 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00591/0.5487, allocations: 4.897 MB / 0.8384 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007735/0.5564, allocations: 4.86 MB / 0.8431 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5564, allocations: 0 / 0.8431 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.5581, allocations: 1.276 MB / 0.8443 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5602, allocations: 0.5865 MB / 0.8449 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1953/0.7556, allocations: 14.26 MB / 0.8588 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.7561, allocations: 1.336 MB / 0.8601 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001672/0.7578, allocations: 0.7177 MB / 0.8608 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/0.7585, allocations: 0.623 MB / 0.8615 GB, free: 209.9 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.7585, allocations: 0 / 0.8615 GB, free: 209.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.8122, allocations: 39.71 MB / 0.9002 GB, free: 202.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.92, allocations: 6.266 kB / 0.9002 GB, free: 202.6 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)