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.001117/0.001121, 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.001097/0.001097, allocations: 194.8 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 287 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 92.62 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1315, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.4804/0.6119, allocations: 245.7 MB / 0.9202 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.6314, allocations: 14.39 MB / 0.9342 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.6336, allocations: 75.56 kB / 0.9343 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.6365, allocations: 1.266 MB / 0.9356 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009972/0.6465, allocations: 4.678 MB / 0.9401 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.6506, allocations: 1.845 MB / 0.9419 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006397/0.657, allocations: 6.239 MB / 0.948 GB, free: 5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.6595, allocations: 1.966 MB / 0.9499 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.6627, allocations: 2.145 MB / 0.952 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.666, allocations: 2.015 MB / 0.954 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.6665, allocations: 248 kB / 0.9542 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00718/0.6737, allocations: 4.521 MB / 0.9587 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009785/0.6747, allocations: 1.056 MB / 0.9597 GB, free: 9.016 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.6763, allocations: 1.447 MB / 0.9611 GB, free: 7.562 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.6822, allocations: 5.24 MB / 0.9662 GB, free: 2.309 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6822, allocations: 0 / 0.9662 GB, free: 2.309 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6823, allocations: 0 / 0.9662 GB, free: 2.309 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.6823, allocations: 0 / 0.9662 GB, free: 2.309 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.00593/0.6882, allocations: 3.196 MB / 0.9693 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.6883, allocations: 8.031 kB / 0.9693 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003348/0.6886, allocations: 290.5 kB / 0.9696 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/0.6926, allocations: 0.6683 MB / 0.9703 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.6949, allocations: 1.569 MB / 0.9718 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.6951, allocations: 139.8 kB / 0.9719 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.6953, allocations: 196 kB / 0.9721 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.6988, allocations: 2.422 MB / 0.9745 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.6988, allocations: 3.906 kB / 0.9745 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.699, allocations: 83.98 kB / 0.9746 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.74e-05/0.6991, allocations: 92.27 kB / 0.9747 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.703, allocations: 2.609 MB / 0.9772 GB, free: 6.887 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.009968/0.713, allocations: 8.108 MB / 0.9851 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.7162, allocations: 2.358 MB / 0.9874 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.718, allocations: 1.335 MB / 0.9887 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.7194, allocations: 1.564 MB / 0.9903 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.7195, allocations: 60.94 kB / 0.9903 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=222): time 5.03e-06/0.7195, allocations: 0 / 0.9903 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226): time 0.01069/0.7302, allocations: 6.859 MB / 0.997 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.7303, allocations: 166.5 kB / 0.9972 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.7317, allocations: 1.209 MB / 0.9984 GB, free: 172 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7319, allocations: 69.7 kB / 0.9984 GB, free: 96 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.7324, allocations: 0.753 MB / 0.9992 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.733, allocations: 0.7699 MB / 0.9999 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.7335, allocations: 343.4 kB / 1 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.7335, allocations: 301.1 kB / 1.001 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.7349, allocations: 0.8706 MB / 1.001 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.7364, allocations: 1.129 MB / 1.002 GB, free: 11.84 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.07292/0.8093, allocations: 11.72 MB / 1.014 GB, free: 20 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.8093, allocations: 0 / 1.014 GB, free: 20 kB / 0.7169 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003951/0.8133, allocations: 2.404 MB / 1.016 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.8133, allocations: 9.875 kB / 1.016 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.8133, allocations: 4 kB / 1.016 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.8134, allocations: 12 kB / 1.016 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.8151, allocations: 427.4 kB / 1.017 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.8151, allocations: 16.34 kB / 1.017 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8169, allocations: 71.83 kB / 1.017 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.817, allocations: 75.98 kB / 1.017 GB, free: 13 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: 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.000917/0.818, allocations: 0.5615 MB / 1.017 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/0.8184, allocations: 201.6 kB / 1.018 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.8224, allocations: 2.522 MB / 1.02 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.8225, allocations: 20 kB / 1.02 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.8225, allocations: 4 kB / 1.02 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002964/0.8255, allocations: 2.093 MB / 1.022 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008044/0.8335, allocations: 5.364 MB / 1.027 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.8335, allocations: 4 kB / 1.027 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/0.8355, allocations: 459.9 kB / 1.028 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.8356, allocations: 12 kB / 1.028 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.8357, allocations: 63.98 kB / 1.028 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/0.8357, allocations: 19.94 kB / 1.028 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.8357, allocations: 8 kB / 1.028 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/0.8411, allocations: 4.09 MB / 1.032 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/0.8421, allocations: 0.4908 MB / 1.032 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.8424, allocations: 48 kB / 1.032 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.8439, allocations: 65.7 kB / 1.032 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.8441, allocations: 157.4 kB / 1.033 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.8443, allocations: 76.09 kB / 1.033 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001061/0.8453, allocations: 0.8434 MB / 1.034 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8454, allocations: 0 / 1.034 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001642/0.847, allocations: 0.6875 MB / 1.034 GB, free: 10.94 MB / 0.7481 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.005973/0.853, allocations: 4.883 MB / 1.039 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005457/0.8585, allocations: 3.346 MB / 1.042 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8585, allocations: 0 / 1.042 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.86, allocations: 1.176 MB / 1.043 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/0.865, allocations: 1.177 MB / 1.045 GB, free: 304 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2518/1.117, allocations: 17.64 MB / 1.062 GB, free: 290 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.118, allocations: 1.657 MB / 1.063 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00261/1.121, allocations: 0.7527 MB / 1.064 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.122, allocations: 0.834 MB / 1.065 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/1.122, allocations: 3.844 kB / 1.065 GB, free: 289.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/1.199, allocations: 56.06 MB / 1.12 GB, free: 259 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.683, allocations: 4.562 kB / 1.12 GB, free: 259 MB / 0.7637 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)