Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",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.001912/0.001912, allocations: 108 kB / 15.61 MB, free: 152 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.002143/0.002144, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002647/0.002647, allocations: 290.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 104.2 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1503, allocations: 89.14 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.5232/0.6735, allocations: 245.7 MB / 0.9335 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.6959, allocations: 14.4 MB / 0.9476 GB, free: 7.184 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.6981, allocations: 75.56 kB / 0.9476 GB, free: 7.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.7009, allocations: 1.262 MB / 0.9489 GB, free: 5.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.7118, allocations: 4.677 MB / 0.9534 GB, free: 1.145 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004713/0.7165, allocations: 1.851 MB / 0.9553 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007959/0.7245, allocations: 6.228 MB / 0.9613 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.7272, allocations: 1.975 MB / 0.9633 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.7306, allocations: 2.141 MB / 0.9654 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.7341, allocations: 2.01 MB / 0.9673 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.7346, allocations: 255.9 kB / 0.9676 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008736/0.7433, allocations: 4.521 MB / 0.972 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.7445, allocations: 1.048 MB / 0.973 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.7463, allocations: 1.447 MB / 0.9744 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007651/0.754, allocations: 5.236 MB / 0.9795 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.754, allocations: 4 kB / 0.9795 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.233e-06/0.754, allocations: 4 kB / 0.9795 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.074e-05/0.754, allocations: 0 / 0.9795 GB, free: 6.367 MB / 0.7012 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.006629/0.7607, allocations: 3.195 MB / 0.9827 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7607, allocations: 12.03 kB / 0.9827 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003666/0.7611, allocations: 278.5 kB / 0.9829 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.7653, allocations: 0.6722 MB / 0.9836 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.768, allocations: 1.573 MB / 0.9851 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.7682, allocations: 143.8 kB / 0.9853 GB, free: 384 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.7685, allocations: 199.8 kB / 0.9855 GB, free: 184 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/0.7725, allocations: 2.405 MB / 0.9878 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.7726, allocations: 4 kB / 0.9878 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.7728, allocations: 79.98 kB / 0.9879 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.7729, allocations: 96.28 kB / 0.988 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/0.7773, allocations: 2.601 MB / 0.9905 GB, free: 10.96 MB / 0.7169 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.01134/0.7886, allocations: 7.955 MB / 0.9983 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.7922, allocations: 2.33 MB / 1.001 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.7944, allocations: 1.326 MB / 1.002 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.7961, allocations: 1.564 MB / 1.003 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.7962, allocations: 60.44 kB / 1.003 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=222): time 3.947e-06/0.7962, allocations: 0 / 1.003 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226): time 0.01148/0.8076, allocations: 6.479 MB / 1.01 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.8077, allocations: 99.08 kB / 1.01 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.8094, allocations: 1.213 MB / 1.011 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.8096, allocations: 65.7 kB / 1.011 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.8102, allocations: 0.7568 MB / 1.012 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007476/0.811, allocations: 0.7622 MB / 1.013 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.8116, allocations: 343.5 kB / 1.013 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8117, allocations: 305.1 kB / 1.013 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.8132, allocations: 0.8706 MB / 1.014 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.8149, allocations: 1.112 MB / 1.015 GB, free: 0.6055 MB / 0.7325 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.07589/0.8908, allocations: 11.71 MB / 1.027 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.8908, allocations: 0 / 1.027 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00425/0.8951, allocations: 2.396 MB / 1.029 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8951, allocations: 12.06 kB / 1.029 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8951, allocations: 4 kB / 1.029 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.8952, allocations: 12 kB / 1.029 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.897, allocations: 424 kB / 1.029 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.897, allocations: 19.94 kB / 1.029 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.8987, allocations: 63.81 kB / 1.029 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.8989, allocations: 71.98 kB / 1.03 GB, free: 1.801 MB / 0.7481 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: 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 (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.0009764/0.8998, allocations: 0.5604 MB / 1.03 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.9002, allocations: 201.6 kB / 1.03 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.9047, allocations: 2.53 MB / 1.033 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.9047, allocations: 24 kB / 1.033 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.9047, allocations: 0 / 1.033 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003359/0.9081, allocations: 2.101 MB / 1.035 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008611/0.9167, allocations: 5.333 MB / 1.04 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.9167, allocations: 4 kB / 1.04 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/0.9189, allocations: 471.4 kB / 1.04 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.9189, allocations: 16 kB / 1.04 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.919, allocations: 59.98 kB / 1.041 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/0.9191, allocations: 19.94 kB / 1.041 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.9191, allocations: 11.94 kB / 1.041 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.925, allocations: 3.935 MB / 1.044 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/0.9258, allocations: 498.6 kB / 1.045 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.9261, allocations: 51.98 kB / 1.045 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.9276, allocations: 64.8 kB / 1.045 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.9279, allocations: 153.5 kB / 1.045 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.928, allocations: 83.97 kB / 1.045 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001165/0.9292, allocations: 0.8317 MB / 1.046 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.983e-06/0.9292, allocations: 112 / 1.046 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.244/1.173, allocations: 0.6887 MB / 1.047 GB, free: 281.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,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) * 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.006399/1.18, allocations: 4.716 MB / 1.051 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005731/1.185, allocations: 3.357 MB / 1.055 GB, free: 279.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.185, allocations: 2 kB / 1.055 GB, free: 279.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.187, allocations: 1.175 MB / 1.056 GB, free: 279.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/1.192, allocations: 1.186 MB / 1.057 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/1.212, allocations: 17.48 MB / 1.074 GB, free: 269.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.213, allocations: 1.655 MB / 1.076 GB, free: 268.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002647/1.216, allocations: 0.7563 MB / 1.076 GB, free: 268.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.217, allocations: 0.8348 MB / 1.077 GB, free: 268 MB / 0.7637 GB Notification: Performance of SimCode: time 7.51e-07/1.217, allocations: 5.5 kB / 1.077 GB, free: 268 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07533/1.292, allocations: 56.12 MB / 1.132 GB, free: 224.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/10.59, allocations: 6.859 kB / 1.132 GB, free: 224.4 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_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_OpenDoorBuoyancyPressureDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)