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.001292/0.001292, 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.001542/0.001542, allocations: 197.4 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 286.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 98.5 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1481, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.5261/0.6743, allocations: 245.7 MB / 0.9335 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.6958, allocations: 14.41 MB / 0.9476 GB, free: 7.223 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.6976, allocations: 71.62 kB / 0.9477 GB, free: 7.152 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.7005, allocations: 1.258 MB / 0.9489 GB, free: 5.887 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.7107, allocations: 4.677 MB / 0.9534 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.7151, allocations: 1.851 MB / 0.9553 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007166/0.7223, allocations: 6.231 MB / 0.9613 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.7248, allocations: 1.976 MB / 0.9633 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.7292, allocations: 2.133 MB / 0.9654 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.7338, allocations: 2.027 MB / 0.9673 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004714/0.7343, allocations: 248 kB / 0.9676 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00915/0.7434, allocations: 4.517 MB / 0.972 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.7447, allocations: 1.056 MB / 0.973 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.7468, allocations: 1.447 MB / 0.9744 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008607/0.7554, allocations: 5.24 MB / 0.9795 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7554, allocations: 3.984 kB / 0.9795 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7554, allocations: 0 / 0.9795 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.7555, allocations: 0 / 0.9795 GB, free: 6.406 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.006747/0.7622, allocations: 3.191 MB / 0.9827 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7623, allocations: 12.03 kB / 0.9827 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003728/0.7627, allocations: 278.5 kB / 0.9829 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.767, allocations: 0.6761 MB / 0.9836 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.7697, allocations: 1.565 MB / 0.9851 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.7698, allocations: 143.8 kB / 0.9853 GB, free: 432 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.7701, allocations: 199.9 kB / 0.9855 GB, free: 232 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.7741, allocations: 2.421 MB / 0.9878 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.7742, allocations: 4 kB / 0.9878 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.7744, allocations: 76 kB / 0.9879 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.7745, allocations: 88.28 kB / 0.988 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.7789, allocations: 2.613 MB / 0.9905 GB, free: 10.99 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.01172/0.7906, allocations: 8.111 MB / 0.9985 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.7942, allocations: 2.351 MB / 1.001 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.7963, allocations: 1.332 MB / 1.002 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.7979, allocations: 1.568 MB / 1.004 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.798, allocations: 60.44 kB / 1.004 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=222): time 3.868e-06/0.798, allocations: 0 / 1.004 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226): time 0.01203/0.8101, allocations: 6.862 MB / 1.01 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.8102, allocations: 166.5 kB / 1.01 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.8118, allocations: 1.206 MB / 1.012 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.812, allocations: 69.7 kB / 1.012 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.8126, allocations: 0.7568 MB / 1.012 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/0.8134, allocations: 0.7661 MB / 1.013 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005507/0.8139, allocations: 343.5 kB / 1.014 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8141, allocations: 301.1 kB / 1.014 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.8155, allocations: 0.8706 MB / 1.015 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.8172, allocations: 1.124 MB / 1.016 GB, free: 15.94 MB / 0.7481 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.07535/0.8926, allocations: 11.71 MB / 1.027 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.8926, allocations: 0 / 1.027 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004375/0.897, allocations: 2.4 MB / 1.03 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.8971, allocations: 9.875 kB / 1.03 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8971, allocations: 4 kB / 1.03 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.8971, allocations: 19.98 kB / 1.03 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.8989, allocations: 423.4 kB / 1.03 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.899, allocations: 20.36 kB / 1.03 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.9006, allocations: 72.02 kB / 1.03 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.9008, allocations: 71.98 kB / 1.03 GB, free: 1.113 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: 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.0009803/0.9018, allocations: 0.5598 MB / 1.031 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.9022, allocations: 201.6 kB / 1.031 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.9066, allocations: 2.526 MB / 1.033 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.9066, allocations: 24 kB / 1.033 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9066, allocations: 0 / 1.033 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003319/0.91, allocations: 2.097 MB / 1.035 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/0.9189, allocations: 5.364 MB / 1.041 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.919, allocations: 11.98 kB / 1.041 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.9211, allocations: 463.9 kB / 1.041 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.9211, allocations: 12 kB / 1.041 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.9212, allocations: 59.98 kB / 1.041 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/0.9213, allocations: 16 kB / 1.041 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.9213, allocations: 11.94 kB / 1.041 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006017/0.9273, allocations: 4.09 MB / 1.045 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009731/0.9283, allocations: 0.4946 MB / 1.046 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.9286, allocations: 48 kB / 1.046 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.9301, allocations: 59.98 kB / 1.046 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.9304, allocations: 149.5 kB / 1.046 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.9305, allocations: 79.97 kB / 1.046 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.259/1.19, allocations: 0.8347 MB / 1.047 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.61e-07/1.19, allocations: 0.5625 kB / 1.047 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002467/1.192, allocations: 0.6811 MB / 1.048 GB, free: 281.5 MB / 0.7637 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.005863/1.198, allocations: 4.886 MB / 1.052 GB, free: 279.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005813/1.204, allocations: 3.349 MB / 1.056 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.204, allocations: 2 kB / 1.056 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/1.205, allocations: 1.171 MB / 1.057 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/1.21, allocations: 1.187 MB / 1.058 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.231, allocations: 17.65 MB / 1.075 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.232, allocations: 1.659 MB / 1.077 GB, free: 268 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002682/1.235, allocations: 0.7576 MB / 1.077 GB, free: 267.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.236, allocations: 0.8314 MB / 1.078 GB, free: 267.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/1.236, allocations: 0 / 1.078 GB, free: 267.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07719/1.313, allocations: 56.06 MB / 1.133 GB, free: 223.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/10.63, allocations: 14.72 kB / 1.133 GB, free: 223.1 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)