Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.007801/0.007801, allocations: 102.4 kB / 15.74 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.00208/0.00208, allocations: 200.9 kB / 16.68 MB, free: 5.965 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.00251, allocations: 267.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 94.36 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4535, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.2818/0.7354, allocations: 245.7 MB / 1.021 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.7577, allocations: 14.41 MB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.7601, allocations: 75.56 kB / 1.035 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.7632, allocations: 1.251 MB / 1.037 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.7747, allocations: 4.667 MB / 1.041 GB, free: 4.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.7798, allocations: 1.875 MB / 1.043 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008403/0.7882, allocations: 6.235 MB / 1.049 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.7911, allocations: 1.975 MB / 1.051 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.7952, allocations: 2.149 MB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.7991, allocations: 2.037 MB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.7995, allocations: 248 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009184/0.8087, allocations: 4.521 MB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.8102, allocations: 1.048 MB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.8124, allocations: 1.451 MB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.8228, allocations: 5.292 MB / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8228, allocations: 3.938 kB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8228, allocations: 0 / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.39e-05/0.8229, allocations: 0 / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006937/0.8299, allocations: 3.279 MB / 1.071 GB, free: 6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8299, allocations: 12.03 kB / 1.071 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000366/0.8303, allocations: 282.5 kB / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.8343, allocations: 0.6853 MB / 1.072 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.8371, allocations: 1.656 MB / 1.073 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.8373, allocations: 151.8 kB / 1.073 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.8376, allocations: 196 kB / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.8414, allocations: 2.413 MB / 1.076 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.8414, allocations: 4 kB / 1.076 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.8416, allocations: 76 kB / 1.076 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.8417, allocations: 96.2 kB / 1.076 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3171/1.159, allocations: 2.607 MB / 1.079 GB, free: 273.2 MB / 0.8262 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.01131/1.17, allocations: 8.061 MB / 1.086 GB, free: 268.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/1.174, allocations: 2.359 MB / 1.089 GB, free: 267.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.175, allocations: 1.331 MB / 1.09 GB, free: 266.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.177, allocations: 1.56 MB / 1.092 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/1.177, allocations: 63.31 kB / 1.092 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=222): time 4.268e-06/1.177, allocations: 3.969 kB / 1.092 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=226): time 0.01064/1.187, allocations: 6.946 MB / 1.098 GB, free: 261.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.187, allocations: 155.7 kB / 1.099 GB, free: 261.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.189, allocations: 1.215 MB / 1.1 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.189, allocations: 66.92 kB / 1.1 GB, free: 260.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/1.189, allocations: 0.7719 MB / 1.101 GB, free: 260.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/1.19, allocations: 0.8068 MB / 1.101 GB, free: 259.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/1.19, allocations: 345.8 kB / 1.102 GB, free: 259.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/1.19, allocations: 305.1 kB / 1.102 GB, free: 259.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/1.191, allocations: 0.8671 MB / 1.103 GB, free: 258.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.193, allocations: 1.128 MB / 1.104 GB, free: 258 MB / 0.8262 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.06567/1.258, allocations: 11.71 MB / 1.115 GB, free: 253.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.259, allocations: 0 / 1.115 GB, free: 253.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003206/1.262, allocations: 2.405 MB / 1.118 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.262, allocations: 14.77 kB / 1.118 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.262, allocations: 3.969 kB / 1.118 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/1.262, allocations: 11.84 kB / 1.118 GB, free: 252.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.263, allocations: 427.1 kB / 1.118 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/1.263, allocations: 23.83 kB / 1.118 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.265, allocations: 65.34 kB / 1.118 GB, free: 252 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.265, allocations: 75.39 kB / 1.118 GB, free: 251.9 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (254): * Single equations (assignments): 254 * 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.000825/1.266, allocations: 0.5563 MB / 1.119 GB, free: 251.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/1.266, allocations: 208.9 kB / 1.119 GB, free: 251.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/1.269, allocations: 2.519 MB / 1.121 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.269, allocations: 22.78 kB / 1.122 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.269, allocations: 5.75 kB / 1.122 GB, free: 250.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/1.272, allocations: 2.1 MB / 1.124 GB, free: 248.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/1.278, allocations: 5.364 MB / 1.129 GB, free: 243.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.278, allocations: 11.94 kB / 1.129 GB, free: 243.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.279, allocations: 459.4 kB / 1.129 GB, free: 243.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.279, allocations: 16 kB / 1.129 GB, free: 243 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.28, allocations: 55.98 kB / 1.129 GB, free: 243 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.28, allocations: 15.94 kB / 1.129 GB, free: 243 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.28, allocations: 15.92 kB / 1.129 GB, free: 243 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/1.283, allocations: 4.102 MB / 1.133 GB, free: 238.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/1.284, allocations: 0.4996 MB / 1.134 GB, free: 238.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.284, allocations: 52 kB / 1.134 GB, free: 238.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.286, allocations: 57.81 kB / 1.134 GB, free: 238.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.286, allocations: 157.5 kB / 1.134 GB, free: 238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.286, allocations: 75.98 kB / 1.134 GB, free: 237.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007785/1.287, allocations: 0.8356 MB / 1.135 GB, free: 237.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/1.287, allocations: 0 / 1.135 GB, free: 237.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001436/1.288, allocations: 0.6883 MB / 1.136 GB, free: 236.4 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,dooDis.mExcBA,dooDis.mExcAB) * 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 (230): * Single equations (assignments): 230 * 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.004369/1.292, allocations: 4.897 MB / 1.14 GB, free: 231.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002425/1.295, allocations: 2.215 MB / 1.143 GB, free: 229.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.295, allocations: 0 / 1.143 GB, free: 229.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.296, allocations: 1.171 MB / 1.144 GB, free: 228.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/1.301, allocations: 1.164 MB / 1.145 GB, free: 227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.317, allocations: 16.48 MB / 1.161 GB, free: 210 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.318, allocations: 1.655 MB / 1.163 GB, free: 208.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001882/1.319, allocations: 0.7508 MB / 1.163 GB, free: 207.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008925/1.32, allocations: 0.8351 MB / 1.164 GB, free: 206.7 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/1.32, allocations: 0 / 1.164 GB, free: 206.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/1.394, allocations: 56.45 MB / 1.219 GB, free: 151 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.55, allocations: 12.95 kB / 1.219 GB, free: 151 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 5.76 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)