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.005885/0.005885, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001299/0.001299, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 289.9 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.8913/0.8913, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 107.8 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4433, allocations: 86.96 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.6434/1.087, allocations: 245.7 MB / 1.006 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01899/1.106, allocations: 14.41 MB / 1.02 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/1.109, allocations: 77.78 kB / 1.02 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003653/1.113, allocations: 1.312 MB / 1.021 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/1.126, allocations: 4.827 MB / 1.026 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/1.132, allocations: 1.89 MB / 1.028 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009065/1.141, allocations: 6.243 MB / 1.034 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004015/1.145, allocations: 1.977 MB / 1.036 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/1.15, allocations: 2.234 MB / 1.038 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/1.154, allocations: 2.035 MB / 1.04 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009618/1.155, allocations: 247.2 kB / 1.04 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009849/1.165, allocations: 4.532 MB / 1.045 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001932/1.167, allocations: 1.043 MB / 1.046 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003687/1.171, allocations: 1.447 MB / 1.047 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/1.183, allocations: 5.314 MB / 1.052 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.183, allocations: 0 / 1.052 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/1.183, allocations: 0 / 1.052 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001895/1.183, allocations: 0 / 1.052 GB, free: 12.52 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.01008/1.193, allocations: 3.276 MB / 1.055 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.194, allocations: 9.188 kB / 1.055 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008079/1.194, allocations: 282.8 kB / 1.056 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/1.199, allocations: 0.6871 MB / 1.056 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/1.204, allocations: 1.651 MB / 1.058 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.204, allocations: 152.7 kB / 1.058 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/1.204, allocations: 199.6 kB / 1.058 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/1.21, allocations: 2.422 MB / 1.061 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/1.21, allocations: 2.531 kB / 1.061 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.211, allocations: 82.03 kB / 1.061 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.211, allocations: 92.22 kB / 1.061 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/1.216, allocations: 2.611 MB / 1.063 GB, free: 3.941 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.01408/1.23, allocations: 8.057 MB / 1.071 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/1.234, allocations: 2.357 MB / 1.074 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/1.236, allocations: 1.332 MB / 1.075 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.237, allocations: 1.563 MB / 1.076 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/1.237, allocations: 64.44 kB / 1.077 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=222): time 4.268e-06/1.237, allocations: 0 / 1.077 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of matching and sorting (n=226): time 0.01329/1.251, allocations: 6.954 MB / 1.083 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/1.251, allocations: 161 kB / 1.083 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/1.253, allocations: 1.206 MB / 1.085 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.253, allocations: 73.77 kB / 1.085 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/1.254, allocations: 0.7724 MB / 1.085 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007443/1.254, allocations: 0.8005 MB / 1.086 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006505/1.255, allocations: 343.5 kB / 1.087 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/1.255, allocations: 301.1 kB / 1.087 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.256, allocations: 0.8706 MB / 1.088 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/1.258, allocations: 1.127 MB / 1.089 GB, free: 9.066 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.06715/1.325, allocations: 11.71 MB / 1.1 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/1.325, allocations: 4 kB / 1.1 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004899/1.33, allocations: 2.405 MB / 1.103 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.33, allocations: 11.94 kB / 1.103 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.33, allocations: 4 kB / 1.103 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/1.33, allocations: 16 kB / 1.103 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.332, allocations: 425.3 kB / 1.103 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.862e-05/1.332, allocations: 14.62 kB / 1.103 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.334, allocations: 68.25 kB / 1.103 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/1.334, allocations: 75.98 kB / 1.103 GB, free: 10.31 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.001221/1.336, allocations: 0.5576 MB / 1.104 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.336, allocations: 210.7 kB / 1.104 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/1.341, allocations: 2.521 MB / 1.106 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.341, allocations: 31.98 kB / 1.106 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.341, allocations: 0 / 1.106 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003041/1.344, allocations: 2.104 MB / 1.108 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009993/1.354, allocations: 5.353 MB / 1.114 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.354, allocations: 8 kB / 1.114 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.356, allocations: 462.8 kB / 1.114 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.886e-05/1.356, allocations: 16 kB / 1.114 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.356, allocations: 55.98 kB / 1.114 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-05/1.356, allocations: 17.06 kB / 1.114 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.356, allocations: 10.62 kB / 1.114 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/1.362, allocations: 4.103 MB / 1.118 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.363, allocations: 0.4995 MB / 1.119 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.364, allocations: 51.98 kB / 1.119 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.366, allocations: 62.42 kB / 1.119 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.366, allocations: 153.4 kB / 1.119 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.367, allocations: 83.92 kB / 1.119 GB, free: 9.918 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001567/1.368, allocations: 0.8473 MB / 1.12 GB, free: 9.07 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/1.368, allocations: 0 / 1.12 GB, free: 9.07 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002479/1.371, allocations: 0.6834 MB / 1.121 GB, free: 8.387 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.006611/1.377, allocations: 4.886 MB / 1.125 GB, free: 3.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003477/1.381, allocations: 2.203 MB / 1.127 GB, free: 1.285 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.381, allocations: 8 kB / 1.127 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.382, allocations: 1.175 MB / 1.129 GB, free: 172 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006483/1.389, allocations: 1.176 MB / 1.13 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.418, allocations: 16.47 MB / 1.146 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.42, allocations: 1.655 MB / 1.147 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002918/1.423, allocations: 0.7509 MB / 1.148 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.424, allocations: 0.8273 MB / 1.149 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.424, allocations: 4 kB / 1.149 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09655/1.521, allocations: 56.44 MB / 1.204 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.61, allocations: 15.31 kB / 1.204 GB, free: 3.191 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)