Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, 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.4934/0.4934, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.448/1.448, 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.0009343/0.0009343, allocations: 106.5 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.732e-05, allocations: 0 / 0.4896 GB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5074, allocations: 72.31 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.546/6.054, allocations: 1.874 GB / 2.434 GB, free: 99.56 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/6.054, allocations: 86.89 kB / 2.434 GB, free: 99.52 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 2.596/8.65, allocations: 0.6682 GB / 3.102 GB, free: 102 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/8.65, allocations: 0 / 3.102 GB, free: 102 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.643e-05/8.65, allocations: 23.38 kB / 3.102 GB, free: 102 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003949/8.654, allocations: 1.352 MB / 3.104 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/8.654, allocations: 15.17 kB / 3.104 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/8.655, allocations: 146.9 kB / 3.104 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/8.656, allocations: 0.5605 MB / 3.104 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/8.656, allocations: 52.97 kB / 3.104 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/8.656, allocations: 78.98 kB / 3.104 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/8.657, allocations: 0.8123 MB / 3.105 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/8.657, allocations: 0 / 3.105 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/8.657, allocations: 23.53 kB / 3.105 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.107e-05/8.657, allocations: 45.27 kB / 3.105 GB, free: 101 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/8.659, allocations: 0.6833 MB / 3.106 GB, free: 101 MB / 0.6198 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.005253/8.664, allocations: 4.597 MB / 3.11 GB, free: 97.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/8.665, allocations: 451.4 kB / 3.111 GB, free: 97.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/8.665, allocations: 175.7 kB / 3.111 GB, free: 97.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/8.666, allocations: 0.7645 MB / 3.112 GB, free: 96.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/8.666, allocations: 36.89 kB / 3.112 GB, free: 96.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/8.666, allocations: 0 / 3.112 GB, free: 96.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0009255/8.667, allocations: 441.4 kB / 3.112 GB, free: 96.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/8.667, allocations: 59.06 kB / 3.112 GB, free: 96.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/8.668, allocations: 0.7719 MB / 3.113 GB, free: 96.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/8.668, allocations: 32.55 kB / 3.113 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/8.668, allocations: 395.5 kB / 3.113 GB, free: 96.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/8.668, allocations: 142.4 kB / 3.114 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/8.668, allocations: 3.938 kB / 3.114 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/8.668, allocations: 335.1 kB / 3.114 GB, free: 96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/8.668, allocations: 164.4 kB / 3.114 GB, free: 96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/8.669, allocations: 274.1 kB / 3.114 GB, free: 95.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/8.669, allocations: 206.1 kB / 3.115 GB, free: 95.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/8.669, allocations: 0 / 3.115 GB, free: 95.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008345/8.67, allocations: 0.5629 MB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/8.67, allocations: 6.031 kB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/8.67, allocations: 2.625 kB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/8.67, allocations: 4.25 kB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/8.67, allocations: 110.6 kB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/8.67, allocations: 5.594 kB / 3.115 GB, free: 95.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/8.671, allocations: 107.2 kB / 3.115 GB, free: 95.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/8.671, allocations: 30.09 kB / 3.115 GB, free: 95.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001157/8.671, allocations: 133.1 kB / 3.115 GB, free: 95.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/8.671, allocations: 82.41 kB / 3.116 GB, free: 95.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/8.672, allocations: 0.5261 MB / 3.116 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/8.672, allocations: 3.719 kB / 3.116 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/8.672, allocations: 4.719 kB / 3.116 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/8.672, allocations: 0 / 3.116 GB, free: 95.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/8.675, allocations: 2.044 MB / 3.118 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/8.675, allocations: 6.688 kB / 3.118 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/8.676, allocations: 91.69 kB / 3.118 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/8.676, allocations: 10.19 kB / 3.118 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/8.676, allocations: 24.16 kB / 3.118 GB, free: 94.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/8.676, allocations: 17.69 kB / 3.118 GB, free: 94.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/8.676, allocations: 13.8 kB / 3.118 GB, free: 94.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/8.677, allocations: 1.249 MB / 3.119 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/8.677, allocations: 227 kB / 3.12 GB, free: 93.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/8.678, allocations: 19.25 kB / 3.12 GB, free: 93.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/8.678, allocations: 53.94 kB / 3.12 GB, free: 93.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/8.678, allocations: 48.19 kB / 3.12 GB, free: 93.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/8.678, allocations: 23.66 kB / 3.12 GB, free: 93.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006904/8.679, allocations: 0.6161 MB / 3.12 GB, free: 93.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/8.679, allocations: 0 / 3.12 GB, free: 93.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001608/8.681, allocations: 444.6 kB / 3.121 GB, free: 93.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.00286/8.684, allocations: 2.057 MB / 3.123 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008266/8.684, allocations: 413.1 kB / 3.123 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/8.684, allocations: 3.25 kB / 3.123 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/8.685, allocations: 225 kB / 3.123 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/8.687, allocations: 481.1 kB / 3.124 GB, free: 93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/8.689, allocations: 1.176 MB / 3.125 GB, free: 92.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/8.689, allocations: 1.029 MB / 3.126 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007278/8.69, allocations: 178 kB / 3.126 GB, free: 91.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/8.69, allocations: 66.73 kB / 3.126 GB, free: 91.77 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/8.69, allocations: 2.516 kB / 3.126 GB, free: 91.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.0558/8.746, allocations: 44.8 MB / 3.17 GB, free: 65.93 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)