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.7723/0.7723, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001575/0.001575, allocations: 187.7 kB / 182.2 MB, free: 9.457 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.35/1.35, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009345/0.0009348, allocations: 88.12 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 268 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.556e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3636, allocations: 82.76 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.827/4.191, allocations: 1.883 GB / 2.64 GB, free: 137.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/4.191, allocations: 87.52 kB / 2.64 GB, free: 137.4 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.595/5.786, allocations: 456.4 MB / 3.086 GB, free: 151.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/5.786, allocations: 3.375 kB / 3.086 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.539e-05/5.786, allocations: 26.33 kB / 3.086 GB, free: 151.4 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004485/5.79, allocations: 1.506 MB / 3.087 GB, free: 150.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/5.79, allocations: 14.22 kB / 3.087 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/5.791, allocations: 160.7 kB / 3.087 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/5.792, allocations: 0.6371 MB / 3.088 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/5.792, allocations: 25.75 kB / 3.088 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/5.793, allocations: 50.31 kB / 3.088 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/5.795, allocations: 1.317 MB / 3.089 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/5.796, allocations: 1.045 MB / 3.09 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/5.796, allocations: 7.516 kB / 3.09 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/5.796, allocations: 0 / 3.09 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/5.797, allocations: 47.73 kB / 3.091 GB, free: 150.5 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.004214/5.801, allocations: 3.128 MB / 3.094 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/5.802, allocations: 1.42 MB / 3.095 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/5.803, allocations: 0.6923 MB / 3.096 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/5.804, allocations: 1.538 MB / 3.097 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008928/5.805, allocations: 0.6952 MB / 3.098 GB, free: 147.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 2.766e-06/5.805, allocations: 0 / 3.098 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.002741/5.808, allocations: 1.456 MB / 3.099 GB, free: 147.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/5.808, allocations: 97.34 kB / 3.099 GB, free: 147.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/5.808, allocations: 0.4887 MB / 3.1 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/5.809, allocations: 27.3 kB / 3.1 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/5.809, allocations: 368.5 kB / 3.1 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/5.809, allocations: 407.8 kB / 3.101 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/5.809, allocations: 0 / 3.101 GB, free: 146.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/5.809, allocations: 399.1 kB / 3.101 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/5.81, allocations: 0.4967 MB / 3.101 GB, free: 146.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/5.81, allocations: 0.6535 MB / 3.102 GB, free: 146.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/5.812, allocations: 0.7145 MB / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/5.812, allocations: 0 / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002514/5.814, allocations: 1.533 MB / 3.104 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/5.814, allocations: 37.39 kB / 3.104 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/5.815, allocations: 9.219 kB / 3.104 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/5.815, allocations: 9.812 kB / 3.104 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/5.815, allocations: 221 kB / 3.105 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/5.815, allocations: 6.656 kB / 3.105 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/5.816, allocations: 98.02 kB / 3.105 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/5.816, allocations: 54.45 kB / 3.105 GB, free: 146.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002288/5.817, allocations: 159.8 kB / 3.105 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/5.817, allocations: 89.69 kB / 3.105 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/5.82, allocations: 1.651 MB / 3.107 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/5.82, allocations: 13.5 kB / 3.107 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/5.82, allocations: 3.094 kB / 3.107 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/5.82, allocations: 3.516 kB / 3.107 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/5.825, allocations: 3.585 MB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/5.825, allocations: 6.625 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/5.826, allocations: 217.9 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/5.826, allocations: 14.16 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/5.826, allocations: 25.33 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/5.826, allocations: 18.11 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/5.826, allocations: 10.47 kB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/5.83, allocations: 2.984 MB / 3.113 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/5.83, allocations: 327.6 kB / 3.114 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/5.83, allocations: 16.45 kB / 3.114 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/5.831, allocations: 48.17 kB / 3.114 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/5.831, allocations: 97.81 kB / 3.114 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/5.832, allocations: 56.81 kB / 3.114 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004701/5.832, allocations: 395.1 kB / 3.114 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/5.832, allocations: 0 / 3.114 GB, free: 144.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001457/5.833, allocations: 460.7 kB / 3.115 GB, free: 144 MB / 0.698 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.002291/5.836, allocations: 1.792 MB / 3.116 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00163/5.837, allocations: 1.274 MB / 3.118 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/5.837, allocations: 3.938 kB / 3.118 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007738/5.838, allocations: 0.706 MB / 3.118 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/5.84, allocations: 235.3 kB / 3.119 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/5.842, allocations: 1.84 MB / 3.12 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/5.843, allocations: 1.127 MB / 3.121 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001173/5.844, allocations: 407.1 kB / 3.122 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/5.844, allocations: 80.56 kB / 3.122 GB, free: 142.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/5.844, allocations: 3.25 kB / 3.122 GB, free: 142.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02977/5.874, allocations: 21.09 MB / 3.142 GB, free: 141.4 MB / 0.698 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)