Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8009/0.8009, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 181.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 426.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009217, allocations: 94.28 kB / 0.4945 GB, free: 8.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001846/0.001846, allocations: 272 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004988, allocations: 16 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5143, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/6.159, allocations: 2.047 GB / 2.787 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/6.16, allocations: 90.7 kB / 2.787 GB, free: 243.3 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 1.217/7.377, allocations: 455 MB / 3.231 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/7.377, allocations: 0 / 3.231 GB, free: 55.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.658e-05/7.377, allocations: 23.94 kB / 3.231 GB, free: 55.95 MB / 0.6823 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.004249/7.381, allocations: 1.645 MB / 3.233 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/7.381, allocations: 8.031 kB / 3.233 GB, free: 54.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/7.382, allocations: 159.5 kB / 3.233 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/7.383, allocations: 0.6612 MB / 3.234 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/7.383, allocations: 62.38 kB / 3.234 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/7.384, allocations: 96.36 kB / 3.234 GB, free: 53.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/7.385, allocations: 1.185 MB / 3.235 GB, free: 52.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/7.386, allocations: 7.922 kB / 3.235 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/7.386, allocations: 36 kB / 3.235 GB, free: 51.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/7.386, allocations: 45.98 kB / 3.235 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/7.388, allocations: 1.472 MB / 3.237 GB, free: 50.47 MB / 0.6823 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.005011/7.393, allocations: 3.609 MB / 3.24 GB, free: 46.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/7.394, allocations: 1.446 MB / 3.242 GB, free: 45.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/7.395, allocations: 0.7098 MB / 3.242 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/7.396, allocations: 0.9659 MB / 3.243 GB, free: 43.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/7.397, allocations: 0.7124 MB / 3.244 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 4.047e-06/7.397, allocations: 7.938 kB / 3.244 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.002782/7.4, allocations: 1.936 MB / 3.246 GB, free: 40.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/7.4, allocations: 90.11 kB / 3.246 GB, free: 40.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/7.401, allocations: 0.8368 MB / 3.247 GB, free: 39.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/7.401, allocations: 49.7 kB / 3.247 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/7.401, allocations: 365.1 kB / 3.247 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/7.401, allocations: 418 kB / 3.247 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/7.401, allocations: 20 kB / 3.248 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/7.401, allocations: 357.9 kB / 3.248 GB, free: 38.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/7.402, allocations: 0.5218 MB / 3.248 GB, free: 37.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/7.403, allocations: 0.6799 MB / 3.249 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/7.404, allocations: 1.317 MB / 3.25 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/7.404, allocations: 0 / 3.25 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002079/7.406, allocations: 1.555 MB / 3.252 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/7.407, allocations: 42.78 kB / 3.252 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/7.407, allocations: 0 / 3.252 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/7.407, allocations: 8 kB / 3.252 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/7.407, allocations: 231.7 kB / 3.252 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/7.407, allocations: 4 kB / 3.252 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/7.408, allocations: 127 kB / 3.252 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/7.409, allocations: 55.98 kB / 3.252 GB, free: 33.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0005244/7.409, allocations: 375.1 kB / 3.253 GB, free: 33.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/7.409, allocations: 106.7 kB / 3.253 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/7.412, allocations: 1.665 MB / 3.254 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/7.412, allocations: 12 kB / 3.254 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/7.412, allocations: 0 / 3.254 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/7.412, allocations: 7.969 kB / 3.254 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/7.416, allocations: 3.44 MB / 3.258 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/7.416, allocations: 4 kB / 3.258 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/7.417, allocations: 203.7 kB / 3.258 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/7.417, allocations: 12 kB / 3.258 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/7.417, allocations: 36 kB / 3.258 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/7.417, allocations: 20.36 kB / 3.258 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/7.417, allocations: 11.94 kB / 3.258 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/7.42, allocations: 2.601 MB / 3.261 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/7.421, allocations: 351.4 kB / 3.261 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/7.421, allocations: 28 kB / 3.261 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/7.422, allocations: 47.91 kB / 3.261 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/7.422, allocations: 96.77 kB / 3.261 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/7.422, allocations: 48 kB / 3.261 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007295/7.423, allocations: 0.5927 MB / 3.262 GB, free: 23.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.91e-07/7.423, allocations: 4 kB / 3.262 GB, free: 23.87 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001604/7.425, allocations: 0.5153 MB / 3.262 GB, free: 23.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.002277/7.427, allocations: 1.612 MB / 3.264 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001844/7.429, allocations: 1.338 MB / 3.265 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.429, allocations: 0 / 3.265 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008818/7.43, allocations: 0.7289 MB / 3.266 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/7.433, allocations: 442.2 kB / 3.266 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/7.436, allocations: 2.656 MB / 3.269 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/7.437, allocations: 1.101 MB / 3.27 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001413/7.439, allocations: 440 kB / 3.27 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/7.439, allocations: 87.42 kB / 3.27 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/7.439, allocations: 0 / 3.27 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.4034/7.842, allocations: 35.67 MB / 3.305 GB, free: 134.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)