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.001025/0.001025, 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.0009868/0.0009869, allocations: 194.6 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 278.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 98.28 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1298, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.4755/0.6053, allocations: 245.7 MB / 0.9202 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.6246, allocations: 14.39 MB / 0.9343 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.6266, allocations: 75.56 kB / 0.9343 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.6292, allocations: 1.266 MB / 0.9356 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009851/0.6391, allocations: 4.671 MB / 0.9401 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.6442, allocations: 1.851 MB / 0.9419 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.6514, allocations: 6.232 MB / 0.948 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.6545, allocations: 1.969 MB / 0.9499 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.6584, allocations: 2.145 MB / 0.952 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.6623, allocations: 2.02 MB / 0.954 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007489/0.6631, allocations: 248 kB / 0.9542 GB, free: 14.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008894/0.672, allocations: 4.525 MB / 0.9587 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.6735, allocations: 1.052 MB / 0.9597 GB, free: 9.078 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.6761, allocations: 1.443 MB / 0.9611 GB, free: 7.629 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009238/0.6854, allocations: 5.244 MB / 0.9662 GB, free: 2.371 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6854, allocations: 0 / 0.9662 GB, free: 2.371 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6854, allocations: 0 / 0.9662 GB, free: 2.371 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.973e-05/0.6855, allocations: 0 / 0.9662 GB, free: 2.371 MB / 0.67 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.007481/0.693, allocations: 3.196 MB / 0.9693 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.693, allocations: 8.031 kB / 0.9693 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004503/0.6935, allocations: 286.5 kB / 0.9696 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/0.6978, allocations: 0.6722 MB / 0.9703 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.7005, allocations: 1.569 MB / 0.9718 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7006, allocations: 139.8 kB / 0.9719 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.7009, allocations: 196 kB / 0.9721 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.7046, allocations: 2.412 MB / 0.9745 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.7046, allocations: 7.906 kB / 0.9745 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.7048, allocations: 83.98 kB / 0.9746 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.902e-05/0.7049, allocations: 88.3 kB / 0.9747 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/0.7088, allocations: 2.609 MB / 0.9772 GB, free: 6.965 MB / 0.6856 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.01017/0.719, allocations: 7.943 MB / 0.985 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.7222, allocations: 2.341 MB / 0.9872 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.7241, allocations: 1.329 MB / 0.9885 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.7255, allocations: 1.564 MB / 0.9901 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.7256, allocations: 56.44 kB / 0.9901 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=222): time 3.918e-06/0.7256, allocations: 4 kB / 0.9901 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226): time 0.01048/0.736, allocations: 6.474 MB / 0.9965 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.7361, allocations: 103 kB / 0.9966 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.7376, allocations: 1.217 MB / 0.9977 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.7378, allocations: 65.7 kB / 0.9978 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.7383, allocations: 0.7529 MB / 0.9985 GB, free: 80 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.7389, allocations: 0.7585 MB / 0.9993 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.7394, allocations: 355.4 kB / 0.9996 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.7395, allocations: 301.1 kB / 0.9999 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.7408, allocations: 0.8628 MB / 1.001 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.7423, allocations: 1.111 MB / 1.002 GB, free: 12.61 MB / 0.7169 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.07312/0.8155, allocations: 11.71 MB / 1.013 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.8155, allocations: 4 kB / 1.013 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003829/0.8193, allocations: 2.396 MB / 1.016 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8194, allocations: 8 kB / 1.016 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8194, allocations: 9.547 kB / 1.016 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.8194, allocations: 12 kB / 1.016 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.8211, allocations: 423.4 kB / 1.016 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.8212, allocations: 15.98 kB / 1.016 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8228, allocations: 68.17 kB / 1.016 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.8229, allocations: 68 kB / 1.016 GB, free: 13.8 MB / 0.7325 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.0009064/0.8238, allocations: 0.5615 MB / 1.017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.8242, allocations: 197.7 kB / 1.017 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.8281, allocations: 2.53 MB / 1.019 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.8281, allocations: 28.03 kB / 1.019 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.8282, allocations: 0 / 1.019 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002898/0.8311, allocations: 2.105 MB / 1.021 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.8386, allocations: 5.325 MB / 1.027 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.8387, allocations: 8 kB / 1.027 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.8406, allocations: 459.4 kB / 1.027 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.8406, allocations: 16 kB / 1.027 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.8408, allocations: 55.98 kB / 1.027 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.8408, allocations: 24.23 kB / 1.027 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8408, allocations: 11.94 kB / 1.027 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.8459, allocations: 3.935 MB / 1.031 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/0.8467, allocations: 0.4946 MB / 1.032 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.847, allocations: 48.56 kB / 1.032 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.8484, allocations: 69.28 kB / 1.032 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.8486, allocations: 157.4 kB / 1.032 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.8488, allocations: 79.98 kB / 1.032 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001022/0.8498, allocations: 0.8356 MB / 1.033 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8498, allocations: 0 / 1.033 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001525/0.8513, allocations: 0.6913 MB / 1.033 GB, free: 11.91 MB / 0.7481 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.005769/0.8571, allocations: 4.727 MB / 1.038 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005493/0.8626, allocations: 3.358 MB / 1.041 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8626, allocations: 4 kB / 1.041 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.8642, allocations: 1.172 MB / 1.042 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/0.8691, allocations: 1.187 MB / 1.044 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/1.112, allocations: 17.46 MB / 1.061 GB, free: 291 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.114, allocations: 1.652 MB / 1.062 GB, free: 290.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002799/1.117, allocations: 0.7602 MB / 1.063 GB, free: 290.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.118, allocations: 0.833 MB / 1.064 GB, free: 290.3 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/1.118, allocations: 0 / 1.064 GB, free: 290.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07535/1.193, allocations: 56.1 MB / 1.119 GB, free: 260.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/9.69, allocations: 10.02 kB / 1.119 GB, free: 260.3 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)