Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009729/0.0009728, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5231/0.5231, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 94.42 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.079e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1801, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.034/5.214, allocations: 1.89 GB / 2.443 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.215, allocations: 87.94 kB / 2.444 GB, free: 13.96 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 4.292/9.507, allocations: 1.031 GB / 3.474 GB, free: 67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/9.507, allocations: 0 / 3.474 GB, free: 67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002809/9.507, allocations: 57.02 kB / 3.474 GB, free: 67 MB / 0.6355 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.009226/9.517, allocations: 2.63 MB / 3.477 GB, free: 66.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/9.517, allocations: 11.19 kB / 3.477 GB, free: 66.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/9.522, allocations: 0.6615 MB / 3.478 GB, free: 65.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/9.527, allocations: 1.614 MB / 3.479 GB, free: 65.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/9.527, allocations: 61.94 kB / 3.479 GB, free: 65.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007893/9.528, allocations: 114.5 kB / 3.479 GB, free: 65.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004954/9.533, allocations: 2.28 MB / 3.482 GB, free: 65.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/9.538, allocations: 2.002 MB / 3.484 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.6e-05/9.538, allocations: 9.25 kB / 3.484 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/9.538, allocations: 3.172 kB / 3.484 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-05/9.538, allocations: 95.09 kB / 3.484 GB, free: 65.49 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.0116/9.55, allocations: 7.511 MB / 3.491 GB, free: 62.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/9.553, allocations: 2.944 MB / 3.494 GB, free: 61.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/9.555, allocations: 1.216 MB / 3.495 GB, free: 61.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/9.556, allocations: 1.559 MB / 3.497 GB, free: 59.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/9.556, allocations: 61.06 kB / 3.497 GB, free: 59.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=222): time 6.051e-06/9.556, allocations: 6.375 kB / 3.497 GB, free: 59.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226): time 0.0114/9.567, allocations: 5.189 MB / 3.502 GB, free: 58.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/9.568, allocations: 105.1 kB / 3.502 GB, free: 58.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/9.569, allocations: 0.8745 MB / 3.503 GB, free: 58.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/9.569, allocations: 29.39 kB / 3.503 GB, free: 58.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/9.57, allocations: 0.763 MB / 3.503 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/9.571, allocations: 0.7324 MB / 3.504 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/9.571, allocations: 1.562 kB / 3.504 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001344/9.571, allocations: 384.4 kB / 3.504 GB, free: 57.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/9.572, allocations: 0.7669 MB / 3.505 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/9.573, allocations: 1.01 MB / 3.506 GB, free: 57.13 MB / 0.6355 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.00869/9.582, allocations: 3.322 MB / 3.509 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/9.582, allocations: 0 / 3.509 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004189/9.586, allocations: 2.233 MB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/9.586, allocations: 6.625 kB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/9.586, allocations: 9.031 kB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/9.586, allocations: 12.38 kB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/9.588, allocations: 428.3 kB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.291e-05/9.588, allocations: 17.97 kB / 3.512 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/9.59, allocations: 146.4 kB / 3.512 GB, free: 56.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/9.591, allocations: 76.48 kB / 3.512 GB, free: 56.71 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004031/9.591, allocations: 152.2 kB / 3.512 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003781/9.595, allocations: 2.08 MB / 3.514 GB, free: 56.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/9.595, allocations: 186.8 kB / 3.515 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/9.6, allocations: 2.342 MB / 3.517 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/9.6, allocations: 24.84 kB / 3.517 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/9.6, allocations: 3.438 kB / 3.517 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002917/9.603, allocations: 1.986 MB / 3.519 GB, free: 56.07 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.009004/9.612, allocations: 5.334 MB / 3.524 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/9.612, allocations: 10.53 kB / 3.524 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/9.613, allocations: 455 kB / 3.525 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.541e-05/9.614, allocations: 21.75 kB / 3.525 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/9.614, allocations: 32 kB / 3.525 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-05/9.614, allocations: 16.59 kB / 3.525 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/9.614, allocations: 10.34 kB / 3.525 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/9.619, allocations: 4.032 MB / 3.529 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/9.62, allocations: 493.7 kB / 3.529 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/9.621, allocations: 10.06 kB / 3.529 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/9.623, allocations: 117.4 kB / 3.529 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/9.623, allocations: 153.1 kB / 3.529 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/9.623, allocations: 71.84 kB / 3.529 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001118/9.625, allocations: 0.675 MB / 3.53 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/9.625, allocations: 0 / 3.53 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002765/9.627, allocations: 0.7741 MB / 3.531 GB, free: 53.66 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009324/9.637, allocations: 8.994 MB / 3.54 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003008/9.64, allocations: 1.966 MB / 3.542 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/9.64, allocations: 3.281 kB / 3.542 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/9.641, allocations: 1.054 MB / 3.543 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/9.646, allocations: 0.9731 MB / 3.543 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/9.657, allocations: 4.461 MB / 3.548 GB, free: 48.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/9.659, allocations: 1.688 MB / 3.549 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003058/9.662, allocations: 0.7292 MB / 3.55 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/9.663, allocations: 0.8385 MB / 3.551 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/9.663, allocations: 1.938 kB / 3.551 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/9.782, allocations: 69.37 MB / 3.619 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/9.782, allocations: 186.6 kB / 3.619 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.138/13.92, allocations: 2.969 kB / 3.619 GB, free: 21.62 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)