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.005345/0.005345, allocations: 105.3 kB / 15.74 MB, free: 6 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.00128/0.00128, allocations: 184 kB / 16.67 MB, free: 5.926 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 289.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.995/0.995, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004725/0.004725, allocations: 99.83 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4424, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.6055/1.048, allocations: 245.7 MB / 1.006 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01634/1.064, allocations: 14.4 MB / 1.02 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/1.067, allocations: 75.75 kB / 1.02 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/1.07, allocations: 1.255 MB / 1.021 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009952/1.08, allocations: 4.672 MB / 1.026 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/1.084, allocations: 1.881 MB / 1.028 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006429/1.09, allocations: 6.229 MB / 1.034 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/1.093, allocations: 1.974 MB / 1.036 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/1.096, allocations: 2.155 MB / 1.038 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003643/1.1, allocations: 2.032 MB / 1.04 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004977/1.1, allocations: 248.4 kB / 1.04 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008122/1.109, allocations: 4.516 MB / 1.044 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001856/1.111, allocations: 1.098 MB / 1.045 GB, free: 0 / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/1.113, allocations: 1.45 MB / 1.047 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.123, allocations: 5.304 MB / 1.052 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.123, allocations: 0 / 1.052 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/1.123, allocations: 2.844 kB / 1.052 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.131e-05/1.124, allocations: 0 / 1.052 GB, free: 12.94 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006916/1.13, allocations: 3.278 MB / 1.055 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.131, allocations: 13.3 kB / 1.055 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003814/1.131, allocations: 280.5 kB / 1.055 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/1.135, allocations: 0.6841 MB / 1.056 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/1.138, allocations: 1.657 MB / 1.058 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/1.138, allocations: 149 kB / 1.058 GB, free: 9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/1.139, allocations: 200.3 kB / 1.058 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/1.143, allocations: 2.419 MB / 1.06 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/1.143, allocations: 4 kB / 1.06 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/1.143, allocations: 82.66 kB / 1.061 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/1.143, allocations: 88.27 kB / 1.061 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/1.147, allocations: 2.61 MB / 1.063 GB, free: 4.516 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.01239/1.16, allocations: 8.06 MB / 1.071 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/1.164, allocations: 2.356 MB / 1.073 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/1.166, allocations: 1.334 MB / 1.075 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/1.167, allocations: 1.561 MB / 1.076 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/1.168, allocations: 62.97 kB / 1.076 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=222): time 3.847e-06/1.168, allocations: 4 kB / 1.076 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=226): time 0.0128/1.18, allocations: 6.955 MB / 1.083 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.18, allocations: 161.2 kB / 1.083 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.182, allocations: 1.209 MB / 1.084 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/1.182, allocations: 69.7 kB / 1.084 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/1.183, allocations: 0.7738 MB / 1.085 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/1.184, allocations: 0.7972 MB / 1.086 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/1.185, allocations: 347.5 kB / 1.086 GB, free: 12 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.185, allocations: 301.1 kB / 1.087 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/1.186, allocations: 0.8706 MB / 1.087 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/1.188, allocations: 1.123 MB / 1.089 GB, free: 9.637 MB / 0.7637 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.07165/1.26, allocations: 11.71 MB / 1.1 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/1.26, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00444/1.264, allocations: 2.413 MB / 1.102 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.264, allocations: 8 kB / 1.102 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.264, allocations: 4 kB / 1.102 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/1.264, allocations: 16.59 kB / 1.102 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/1.266, allocations: 431.8 kB / 1.103 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/1.266, allocations: 12 kB / 1.103 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.268, allocations: 63.88 kB / 1.103 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.268, allocations: 71.98 kB / 1.103 GB, free: 10.88 MB / 0.7794 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.001044/1.269, allocations: 0.5639 MB / 1.103 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/1.27, allocations: 210.7 kB / 1.104 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/1.274, allocations: 2.539 MB / 1.106 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/1.274, allocations: 24 kB / 1.106 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.274, allocations: 0 / 1.106 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003406/1.278, allocations: 2.09 MB / 1.108 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009453/1.287, allocations: 5.362 MB / 1.113 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.287, allocations: 8 kB / 1.113 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.289, allocations: 458.8 kB / 1.114 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/1.29, allocations: 12 kB / 1.114 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.29, allocations: 55.98 kB / 1.114 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.07e-05/1.29, allocations: 26.83 kB / 1.114 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.29, allocations: 10.53 kB / 1.114 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006222/1.296, allocations: 4.094 MB / 1.118 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.297, allocations: 0.5035 MB / 1.118 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/1.297, allocations: 55.92 kB / 1.119 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.299, allocations: 59.44 kB / 1.119 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/1.299, allocations: 158.6 kB / 1.119 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.299, allocations: 79.97 kB / 1.119 GB, free: 10.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001291/1.301, allocations: 0.8356 MB / 1.12 GB, free: 9.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/1.301, allocations: 0 / 1.12 GB, free: 9.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001937/1.303, allocations: 0.6873 MB / 1.12 GB, free: 8.961 MB / 0.795 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.007109/1.31, allocations: 4.887 MB / 1.125 GB, free: 4.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003821/1.314, allocations: 2.202 MB / 1.127 GB, free: 1.859 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.314, allocations: 4 kB / 1.127 GB, free: 1.855 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.316, allocations: 1.169 MB / 1.128 GB, free: 0.75 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005769/1.321, allocations: 1.188 MB / 1.13 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.347, allocations: 16.46 MB / 1.146 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/1.349, allocations: 1.651 MB / 1.147 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002489/1.351, allocations: 0.7625 MB / 1.148 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.353, allocations: 0.8351 MB / 1.149 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of SimCode: time 2.515e-06/1.353, allocations: 112 / 1.149 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.459, allocations: 56.44 MB / 1.204 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.97, allocations: 15.94 kB / 1.204 GB, free: 3.758 MB / 0.8731 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)