Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8776/0.8776, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001201/0.001202, allocations: 181 kB / 191.5 MB, free: 5.754 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.567/1.567, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001086/0.001086, allocations: 84.34 kB / 0.5188 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 266.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004526, allocations: 15.16 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.9/5.09, allocations: 1.883 GB / 2.657 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/5.09, allocations: 90.64 kB / 2.657 GB, free: 195.4 MB / 0.7136 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.302/6.392, allocations: 462.8 MB / 3.109 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/6.392, allocations: 4 kB / 3.109 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.671e-05/6.392, allocations: 23.98 kB / 3.109 GB, free: 18.8 MB / 0.7136 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.004042/6.396, allocations: 1.652 MB / 3.111 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/6.396, allocations: 12.03 kB / 3.111 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/6.397, allocations: 162.5 kB / 3.111 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/6.398, allocations: 0.6368 MB / 3.112 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/6.398, allocations: 69.98 kB / 3.112 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/6.398, allocations: 83.94 kB / 3.112 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/6.399, allocations: 1.184 MB / 3.113 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/6.4, allocations: 0 / 3.113 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/6.4, allocations: 43.98 kB / 3.113 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/6.4, allocations: 49.98 kB / 3.113 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/6.401, allocations: 1.468 MB / 3.114 GB, free: 13.34 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004209/6.406, allocations: 3.318 MB / 3.118 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/6.407, allocations: 1.51 MB / 3.119 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/6.408, allocations: 1.536 MB / 3.121 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008538/6.409, allocations: 0.7455 MB / 3.121 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=127): time 3.797e-06/6.409, allocations: 0 / 3.121 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127): time 0.002819/6.412, allocations: 2.078 MB / 3.123 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/6.412, allocations: 94.11 kB / 3.123 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/6.413, allocations: 0.6989 MB / 3.124 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/6.413, allocations: 45.7 kB / 3.124 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/6.413, allocations: 349.3 kB / 3.125 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/6.413, allocations: 429.8 kB / 3.125 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/6.414, allocations: 24 kB / 3.125 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001351/6.414, allocations: 410.7 kB / 3.125 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/6.414, allocations: 0.5335 MB / 3.126 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/6.415, allocations: 0.6445 MB / 3.127 GB, free: 308 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4891/6.904, allocations: 0.6503 MB / 3.127 GB, free: 144 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/6.904, allocations: 1.094 kB / 3.127 GB, free: 144 MB / 0.7136 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004548/6.909, allocations: 1.538 MB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/6.909, allocations: 36.81 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/6.909, allocations: 1.188 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-05/6.909, allocations: 5.656 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/6.911, allocations: 227.1 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/6.911, allocations: 5.156 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/6.912, allocations: 129.2 kB / 3.129 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/6.913, allocations: 51.05 kB / 3.129 GB, free: 143.9 MB / 0.7136 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 () * Number of clocked 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.0009448/6.914, allocations: 369.7 kB / 3.129 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/6.914, allocations: 102.9 kB / 3.13 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/6.918, allocations: 1.706 MB / 3.131 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/6.918, allocations: 15.22 kB / 3.131 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/6.919, allocations: 2.812 kB / 3.131 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/6.919, allocations: 6.188 kB / 3.131 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/6.929, allocations: 3.859 MB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/6.929, allocations: 5.375 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/6.93, allocations: 216.6 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.49e-05/6.93, allocations: 14.19 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/6.93, allocations: 36.78 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/6.93, allocations: 21.62 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/6.93, allocations: 14.09 kB / 3.135 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/6.937, allocations: 3.031 MB / 3.138 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/6.938, allocations: 351.8 kB / 3.139 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/6.939, allocations: 35.45 kB / 3.139 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/6.94, allocations: 61.22 kB / 3.139 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/6.94, allocations: 92.53 kB / 3.139 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/6.941, allocations: 58.11 kB / 3.139 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001503/6.942, allocations: 0.5546 MB / 3.139 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/6.942, allocations: 3.375 kB / 3.139 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003027/6.945, allocations: 0.5107 MB / 3.14 GB, free: 141.5 MB / 0.7136 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) * Number of clocked states: 0 () * 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.006042/6.951, allocations: 1.62 MB / 3.141 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005398/6.957, allocations: 1.357 MB / 3.143 GB, free: 141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/6.957, allocations: 5.375 kB / 3.143 GB, free: 141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/6.959, allocations: 0.755 MB / 3.144 GB, free: 140.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/6.962, allocations: 384.5 kB / 3.144 GB, free: 140.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/6.969, allocations: 2.696 MB / 3.147 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/6.97, allocations: 1.126 MB / 3.148 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002748/6.973, allocations: 433.5 kB / 3.148 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/6.973, allocations: 87.77 kB / 3.148 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of SimCode: time 3.015e-06/6.973, allocations: 0 / 3.148 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.06841/7.042, allocations: 34.52 MB / 3.182 GB, free: 138.5 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)