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.005289/0.005289, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001314/0.001314, allocations: 202 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002585/0.002585, allocations: 270.9 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 95.84 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1503, allocations: 86.96 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic): time 0.5447/0.6951, allocations: 245.7 MB / 1.006 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.7173, allocations: 14.42 MB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.7195, allocations: 71.62 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.7226, allocations: 1.247 MB / 1.021 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.7334, allocations: 4.683 MB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.7382, allocations: 1.88 MB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007966/0.7461, allocations: 6.226 MB / 1.034 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.749, allocations: 1.975 MB / 1.036 GB, free: 14.53 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.7528, allocations: 2.141 MB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.7567, allocations: 2.036 MB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.7572, allocations: 252 kB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008544/0.7658, allocations: 4.521 MB / 1.044 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.7672, allocations: 1.044 MB / 1.045 GB, free: 4.527 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.7692, allocations: 1.447 MB / 1.047 GB, free: 3.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008839/0.7781, allocations: 5.307 MB / 1.052 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.7781, allocations: 0 / 1.052 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7781, allocations: 3.938 kB / 1.052 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.864e-05/0.7782, allocations: 0 / 1.052 GB, free: 13.75 MB / 0.8106 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.007041/0.7852, allocations: 3.277 MB / 1.055 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7853, allocations: 8.031 kB / 1.055 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003802/0.7857, allocations: 278.5 kB / 1.055 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.79, allocations: 0.6931 MB / 1.056 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.7931, allocations: 1.656 MB / 1.058 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.7933, allocations: 143.8 kB / 1.058 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.7936, allocations: 203.9 kB / 1.058 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.7977, allocations: 2.417 MB / 1.06 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.7977, allocations: 3.938 kB / 1.06 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.7979, allocations: 79.98 kB / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.798, allocations: 88.28 kB / 1.061 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.8024, allocations: 2.613 MB / 1.063 GB, free: 2.133 MB / 0.8106 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.01317/0.8156, allocations: 8.055 MB / 1.071 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.8192, allocations: 2.352 MB / 1.073 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.8213, allocations: 1.338 MB / 1.075 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.8229, allocations: 1.56 MB / 1.076 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.823, allocations: 64.44 kB / 1.076 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=222): time 6.954e-06/0.823, allocations: 3.984 kB / 1.076 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=226): time 0.01196/0.835, allocations: 6.964 MB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8351, allocations: 158.4 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.8368, allocations: 1.209 MB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.837, allocations: 69.77 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.8376, allocations: 0.766 MB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/0.8384, allocations: 0.8055 MB / 1.086 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005383/0.8389, allocations: 347.5 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.839, allocations: 301.1 kB / 1.087 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.8405, allocations: 0.8667 MB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.8421, allocations: 1.121 MB / 1.088 GB, free: 7.02 MB / 0.8419 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.3324/1.175, allocations: 11.7 MB / 1.1 GB, free: 287 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.175, allocations: 3.219 kB / 1.1 GB, free: 287 MB / 0.8419 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003376/1.178, allocations: 2.416 MB / 1.102 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.178, allocations: 6.531 kB / 1.102 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.178, allocations: 5.156 kB / 1.102 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.178, allocations: 13.75 kB / 1.102 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.18, allocations: 425.9 kB / 1.103 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.18, allocations: 21.36 kB / 1.103 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.181, allocations: 62.7 kB / 1.103 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.181, allocations: 76.73 kB / 1.103 GB, free: 286.8 MB / 0.8419 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.0007722/1.182, allocations: 0.5601 MB / 1.103 GB, free: 286.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/1.183, allocations: 209.7 kB / 1.104 GB, free: 286.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.186, allocations: 2.526 MB / 1.106 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.186, allocations: 22.47 kB / 1.106 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.186, allocations: 0 / 1.106 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002615/1.189, allocations: 2.099 MB / 1.108 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/1.197, allocations: 5.354 MB / 1.113 GB, free: 282.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.197, allocations: 6.188 kB / 1.113 GB, free: 282.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.199, allocations: 461.2 kB / 1.114 GB, free: 282.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/1.199, allocations: 18.62 kB / 1.114 GB, free: 282.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.199, allocations: 60.95 kB / 1.114 GB, free: 282.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/1.199, allocations: 20.19 kB / 1.114 GB, free: 282.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.199, allocations: 12.66 kB / 1.114 GB, free: 282.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/1.204, allocations: 4.096 MB / 1.118 GB, free: 280.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/1.205, allocations: 0.5079 MB / 1.118 GB, free: 280.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/1.205, allocations: 52.89 kB / 1.118 GB, free: 280.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.207, allocations: 56.61 kB / 1.119 GB, free: 280.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.207, allocations: 152.4 kB / 1.119 GB, free: 280.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.207, allocations: 78.41 kB / 1.119 GB, free: 280.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001045/1.208, allocations: 0.8362 MB / 1.12 GB, free: 279.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.208, allocations: 1.594 kB / 1.12 GB, free: 279.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001831/1.21, allocations: 0.6835 MB / 1.12 GB, free: 279.7 MB / 0.8419 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.005427/1.216, allocations: 4.9 MB / 1.125 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003084/1.219, allocations: 2.206 MB / 1.127 GB, free: 276.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.219, allocations: 2.719 kB / 1.127 GB, free: 276.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.22, allocations: 1.174 MB / 1.128 GB, free: 276 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/1.225, allocations: 1.177 MB / 1.129 GB, free: 275.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.245, allocations: 16.48 MB / 1.146 GB, free: 267.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008938/1.246, allocations: 1.658 MB / 1.147 GB, free: 266.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002136/1.248, allocations: 0.7548 MB / 1.148 GB, free: 266.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/1.249, allocations: 0.833 MB / 1.149 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/1.249, allocations: 0 / 1.149 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7468/1.996, allocations: 56.44 MB / 1.204 GB, free: 215 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/13.55, allocations: 4.938 kB / 1.204 GB, free: 215 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)