Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7545/0.7545, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 176.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008556, allocations: 92.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 279.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.792e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.606/3.938, allocations: 1.88 GB / 2.637 GB, free: 180.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/3.938, allocations: 91.83 kB / 2.637 GB, free: 180 MB / 0.698 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.892/5.83, allocations: 0.6597 GB / 3.297 GB, free: 45.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/5.83, allocations: 0 / 3.297 GB, free: 45.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.999e-05/5.83, allocations: 19.98 kB / 3.297 GB, free: 45.04 MB / 0.698 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.003679/5.834, allocations: 1.344 MB / 3.298 GB, free: 43.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/5.834, allocations: 12.03 kB / 3.298 GB, free: 43.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/5.834, allocations: 142.8 kB / 3.298 GB, free: 43.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/5.836, allocations: 0.5668 MB / 3.299 GB, free: 42.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/5.836, allocations: 27.92 kB / 3.299 GB, free: 42.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/5.836, allocations: 47.95 kB / 3.299 GB, free: 42.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008849/5.837, allocations: 0.5545 MB / 3.299 GB, free: 42.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/5.838, allocations: 0.7152 MB / 3.3 GB, free: 41.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/5.838, allocations: 0 / 3.3 GB, free: 41.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/5.838, allocations: 4 kB / 3.3 GB, free: 41.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/5.838, allocations: 41.98 kB / 3.3 GB, free: 41.47 MB / 0.698 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.003961/5.842, allocations: 4.375 MB / 3.304 GB, free: 36.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/5.842, allocations: 424.2 kB / 3.305 GB, free: 36.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/5.843, allocations: 161.5 kB / 3.305 GB, free: 35.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/5.843, allocations: 0.7678 MB / 3.306 GB, free: 35.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/5.843, allocations: 34.89 kB / 3.306 GB, free: 35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/5.843, allocations: 3.984 kB / 3.306 GB, free: 35 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007919/5.844, allocations: 395 kB / 3.306 GB, free: 34.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/5.844, allocations: 55.41 kB / 3.306 GB, free: 34.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/5.845, allocations: 486.2 kB / 3.307 GB, free: 34.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/5.845, allocations: 29.7 kB / 3.307 GB, free: 34.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/5.845, allocations: 415.1 kB / 3.307 GB, free: 33.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/5.845, allocations: 130 kB / 3.307 GB, free: 33.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/5.845, allocations: 0 / 3.307 GB, free: 33.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/5.845, allocations: 362.7 kB / 3.308 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/5.845, allocations: 169 kB / 3.308 GB, free: 32.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/5.845, allocations: 300.7 kB / 3.308 GB, free: 32.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/5.846, allocations: 203.6 kB / 3.308 GB, free: 32.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/5.846, allocations: 4 kB / 3.308 GB, free: 32.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000753/5.846, allocations: 0.5156 MB / 3.309 GB, free: 31.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/5.847, allocations: 8 kB / 3.309 GB, free: 31.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/5.847, allocations: 4.469 kB / 3.309 GB, free: 31.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/5.847, allocations: 8 kB / 3.309 GB, free: 31.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/5.847, allocations: 108 kB / 3.309 GB, free: 31.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/5.847, allocations: 11.92 kB / 3.309 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/5.848, allocations: 75.48 kB / 3.309 GB, free: 31.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/5.848, allocations: 20 kB / 3.309 GB, free: 31.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 9.415e-05/5.848, allocations: 124.7 kB / 3.309 GB, free: 31.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/5.848, allocations: 59.25 kB / 3.309 GB, free: 31.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/5.849, allocations: 486.9 kB / 3.31 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/5.849, allocations: 4 kB / 3.31 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/5.849, allocations: 0 / 3.31 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/5.849, allocations: 3.984 kB / 3.31 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/5.851, allocations: 1.81 MB / 3.311 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/5.851, allocations: 4 kB / 3.311 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/5.851, allocations: 92.64 kB / 3.311 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/5.851, allocations: 12 kB / 3.311 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/5.851, allocations: 16 kB / 3.311 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/5.851, allocations: 11.94 kB / 3.312 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/5.852, allocations: 7.938 kB / 3.312 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/5.852, allocations: 1.183 MB / 3.313 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/5.853, allocations: 204.2 kB / 3.313 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/5.853, allocations: 11.98 kB / 3.313 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/5.853, allocations: 43.91 kB / 3.313 GB, free: 27.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/5.853, allocations: 47.78 kB / 3.313 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/5.853, allocations: 23.98 kB / 3.313 GB, free: 27.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003555/5.854, allocations: 394.9 kB / 3.313 GB, free: 26.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.854, allocations: 0 / 3.313 GB, free: 26.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001064/5.855, allocations: 387.3 kB / 3.314 GB, free: 26.3 MB / 0.698 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.002512/5.857, allocations: 2.298 MB / 3.316 GB, free: 23.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005653/5.858, allocations: 383.2 kB / 3.316 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.858, allocations: 8.375 kB / 3.316 GB, free: 23.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/5.858, allocations: 199.6 kB / 3.317 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/5.859, allocations: 233.2 kB / 3.317 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/5.861, allocations: 1.116 MB / 3.318 GB, free: 21.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/5.861, allocations: 1.023 MB / 3.319 GB, free: 20.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005999/5.862, allocations: 140.7 kB / 3.319 GB, free: 20.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/5.862, allocations: 47.42 kB / 3.319 GB, free: 20.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/5.862, allocations: 0 / 3.319 GB, free: 20.61 MB / 0.698 GB Notification: Performance of Templates: time 0.386/6.248, allocations: 20.75 MB / 3.339 GB, free: 115.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)