Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.0009097/0.0009097, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4913/0.4913, allocations: 90.91 MB / 99.34 MB, free: 2.168 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.529/1.529, allocations: 221.5 MB / 343.2 MB, free: 1.559 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.0009231/0.0009232, allocations: 90.95 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.481e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 72.32 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.887/5.06, allocations: 1.89 GB / 2.444 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/5.06, allocations: 83.95 kB / 2.444 GB, free: 41.76 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.105/9.165, allocations: 1.03 GB / 3.474 GB, free: 65.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/9.165, allocations: 0 / 3.474 GB, free: 65.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001547/9.166, allocations: 61.98 kB / 3.474 GB, free: 65.21 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.007214/9.173, allocations: 2.632 MB / 3.476 GB, free: 64.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/9.173, allocations: 10.41 kB / 3.476 GB, free: 64.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/9.177, allocations: 0.6666 MB / 3.477 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/9.18, allocations: 1.607 MB / 3.479 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/9.18, allocations: 61.44 kB / 3.479 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/9.181, allocations: 115.9 kB / 3.479 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003725/9.184, allocations: 2.272 MB / 3.481 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/9.188, allocations: 2.019 MB / 3.483 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/9.188, allocations: 6.219 kB / 3.483 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/9.188, allocations: 0 / 3.483 GB, free: 63.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/9.188, allocations: 86.2 kB / 3.483 GB, free: 63.84 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.01078/9.199, allocations: 7.679 MB / 3.491 GB, free: 60.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/9.202, allocations: 2.965 MB / 3.494 GB, free: 59.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/9.204, allocations: 1.209 MB / 3.495 GB, free: 59.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/9.205, allocations: 1.568 MB / 3.496 GB, free: 58.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/9.205, allocations: 61.59 kB / 3.496 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=222): time 4.92e-06/9.205, allocations: 0 / 3.496 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226): time 0.01127/9.216, allocations: 5.678 MB / 3.502 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/9.216, allocations: 153.6 kB / 3.502 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/9.218, allocations: 0.8857 MB / 3.503 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/9.218, allocations: 25.7 kB / 3.503 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/9.218, allocations: 0.7548 MB / 3.504 GB, free: 55.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006511/9.219, allocations: 0.7365 MB / 3.504 GB, free: 55.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/9.219, allocations: 1.75 kB / 3.504 GB, free: 55.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001325/9.219, allocations: 386.7 kB / 3.505 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/9.221, allocations: 0.7716 MB / 3.505 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/9.222, allocations: 1.009 MB / 3.506 GB, free: 54.91 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008636/9.231, allocations: 3.313 MB / 3.51 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/9.231, allocations: 5.625 kB / 3.51 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003682/9.234, allocations: 2.243 MB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/9.234, allocations: 3.938 kB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/9.234, allocations: 7.75 kB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/9.234, allocations: 12.91 kB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/9.236, allocations: 428 kB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/9.236, allocations: 15.56 kB / 3.512 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/9.238, allocations: 146.4 kB / 3.512 GB, free: 54.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/9.238, allocations: 75.53 kB / 3.513 GB, free: 54.5 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: 21 * 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.0003404/9.239, allocations: 150.5 kB / 3.513 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003274/9.242, allocations: 2.085 MB / 3.515 GB, free: 54.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/9.242, allocations: 193.7 kB / 3.515 GB, free: 54.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/9.246, allocations: 2.331 MB / 3.517 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/9.246, allocations: 21.66 kB / 3.517 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/9.246, allocations: 6.438 kB / 3.517 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002851/9.249, allocations: 1.991 MB / 3.519 GB, free: 53.86 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.00823/9.257, allocations: 5.348 MB / 3.524 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/9.257, allocations: 7.438 kB / 3.524 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/9.259, allocations: 458.3 kB / 3.525 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/9.259, allocations: 20.16 kB / 3.525 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/9.259, allocations: 25.95 kB / 3.525 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/9.259, allocations: 23.09 kB / 3.525 GB, free: 52.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/9.26, allocations: 14.78 kB / 3.525 GB, free: 52.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/9.264, allocations: 4.211 MB / 3.529 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/9.266, allocations: 491.6 kB / 3.529 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/9.266, allocations: 19.89 kB / 3.529 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/9.268, allocations: 116.1 kB / 3.53 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/9.268, allocations: 145.8 kB / 3.53 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/9.268, allocations: 83.34 kB / 3.53 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009332/9.269, allocations: 0.6697 MB / 3.53 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/9.269, allocations: 0 / 3.53 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002611/9.272, allocations: 0.7774 MB / 3.531 GB, free: 51.25 MB / 0.6355 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 () * 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.009016/9.281, allocations: 9.309 MB / 3.54 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002872/9.284, allocations: 1.964 MB / 3.542 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/9.284, allocations: 0 / 3.542 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/9.285, allocations: 1.06 MB / 3.543 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/9.29, allocations: 0.9521 MB / 3.544 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/9.298, allocations: 4.454 MB / 3.549 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/9.299, allocations: 1.692 MB / 3.55 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002758/9.302, allocations: 0.7307 MB / 3.551 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/9.303, allocations: 0.8328 MB / 3.552 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/9.303, allocations: 1.312 kB / 3.552 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/9.414, allocations: 69.32 MB / 3.619 GB, free: 35.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/9.414, allocations: 176.2 kB / 3.62 GB, free: 35.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/13.52, allocations: 4 kB / 3.62 GB, free: 35.32 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)