Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.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: translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4977/0.4977, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009152, allocations: 104 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-05/5.817e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4378, allocations: 72.3 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/5.744, allocations: 1.876 GB / 2.437 GB, free: 97.03 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/5.745, allocations: 81.2 kB / 2.437 GB, free: 96.98 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 1.986/7.731, allocations: 462.3 MB / 2.888 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/7.731, allocations: 0 / 2.888 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.437e-05/7.731, allocations: 23.12 kB / 2.888 GB, free: 109.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005202/7.736, allocations: 1.505 MB / 2.89 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/7.736, allocations: 11.98 kB / 2.89 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/7.737, allocations: 158.5 kB / 2.89 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/7.739, allocations: 0.6478 MB / 2.89 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/7.739, allocations: 72.27 kB / 2.891 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/7.739, allocations: 88 kB / 2.891 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/7.742, allocations: 1.161 MB / 2.892 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/7.742, allocations: 0 / 2.892 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/7.742, allocations: 38.19 kB / 2.892 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/7.742, allocations: 49.98 kB / 2.892 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/7.744, allocations: 1.439 MB / 2.893 GB, free: 104.7 MB / 0.6042 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.005389/7.75, allocations: 3.324 MB / 2.897 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/7.752, allocations: 1.495 MB / 2.898 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/7.753, allocations: 0.7339 MB / 2.899 GB, free: 98.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/7.754, allocations: 1.539 MB / 2.9 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/7.755, allocations: 0.7338 MB / 2.901 GB, free: 96.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/7.755, allocations: 7.688 kB / 2.901 GB, free: 96.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127): time 0.002493/7.757, allocations: 1.446 MB / 2.902 GB, free: 94.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/7.757, allocations: 90.11 kB / 2.902 GB, free: 94.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/7.758, allocations: 0.6912 MB / 2.903 GB, free: 94.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/7.759, allocations: 45.7 kB / 2.903 GB, free: 94.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/7.759, allocations: 349.3 kB / 2.903 GB, free: 93.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/7.759, allocations: 429.8 kB / 2.904 GB, free: 93.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/7.759, allocations: 26.72 kB / 2.904 GB, free: 93.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001563/7.759, allocations: 414.7 kB / 2.904 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/7.76, allocations: 0.518 MB / 2.905 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/7.761, allocations: 0.6388 MB / 2.905 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/7.762, allocations: 0.645 MB / 2.906 GB, free: 91.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/7.762, allocations: 0 / 2.906 GB, free: 91.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002145/7.764, allocations: 1.52 MB / 2.908 GB, free: 89.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/7.764, allocations: 37.69 kB / 2.908 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/7.764, allocations: 2.031 kB / 2.908 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/7.764, allocations: 4 kB / 2.908 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/7.765, allocations: 227.7 kB / 2.908 GB, free: 89.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/7.765, allocations: 8 kB / 2.908 GB, free: 89.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/7.766, allocations: 131 kB / 2.908 GB, free: 89.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/7.766, allocations: 44 kB / 2.908 GB, free: 89.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0002559/7.767, allocations: 202.6 kB / 2.908 GB, free: 88.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/7.767, allocations: 102.8 kB / 2.908 GB, free: 88.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/7.77, allocations: 1.685 MB / 2.91 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/7.77, allocations: 15.98 kB / 2.91 GB, free: 87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/7.77, allocations: 4 kB / 2.91 GB, free: 87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/7.77, allocations: 3.984 kB / 2.91 GB, free: 87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/7.775, allocations: 3.846 MB / 2.914 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/7.775, allocations: 8 kB / 2.914 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/7.776, allocations: 215.7 kB / 2.914 GB, free: 82.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/7.776, allocations: 12 kB / 2.914 GB, free: 82.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.902e-05/7.776, allocations: 39.95 kB / 2.914 GB, free: 82.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/7.776, allocations: 15.98 kB / 2.914 GB, free: 82.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/7.776, allocations: 12.38 kB / 2.914 GB, free: 82.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/7.78, allocations: 3.005 MB / 2.917 GB, free: 79.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/7.781, allocations: 335.5 kB / 2.917 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/7.781, allocations: 43.78 kB / 2.917 GB, free: 78.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/7.782, allocations: 63.94 kB / 2.917 GB, free: 78.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/7.782, allocations: 100.5 kB / 2.917 GB, free: 78.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/7.782, allocations: 55.98 kB / 2.917 GB, free: 78.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008423/7.783, allocations: 0.5421 MB / 2.918 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/7.783, allocations: 0 / 2.918 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002084/7.785, allocations: 0.5152 MB / 2.919 GB, free: 77.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.002743/7.788, allocations: 1.615 MB / 2.92 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001886/7.79, allocations: 1.338 MB / 2.921 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/7.79, allocations: 0 / 2.921 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/7.791, allocations: 0.7472 MB / 2.922 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/7.793, allocations: 383.7 kB / 2.922 GB, free: 73.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/7.796, allocations: 1.953 MB / 2.924 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/7.796, allocations: 1.121 MB / 2.925 GB, free: 70.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00122/7.798, allocations: 426.7 kB / 2.926 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/7.798, allocations: 87.42 kB / 2.926 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.553e-06/7.798, allocations: 0 / 2.926 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.05298/7.851, allocations: 38.56 MB / 2.964 GB, free: 31.56 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)