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.7718/0.7718, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009969/0.0009968, allocations: 179.4 kB / 187.3 MB, free: 11.89 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.296/1.296, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.0008617/0.0008617, allocations: 92 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 267 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.862e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.89/4.249, allocations: 1.883 GB / 2.648 GB, free: 124 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/4.249, allocations: 94.98 kB / 2.648 GB, free: 123.9 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.613/5.861, allocations: 462.4 MB / 3.099 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/5.861, allocations: 0 / 3.099 GB, free: 150.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.809e-05/5.862, allocations: 20.69 kB / 3.099 GB, free: 150.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.003662/5.865, allocations: 1.503 MB / 3.101 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/5.865, allocations: 11.22 kB / 3.101 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/5.866, allocations: 154.3 kB / 3.101 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/5.867, allocations: 0.6424 MB / 3.102 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/5.867, allocations: 63.09 kB / 3.102 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/5.867, allocations: 89.14 kB / 3.102 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/5.869, allocations: 1.166 MB / 3.103 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/5.869, allocations: 6.703 kB / 3.103 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/5.869, allocations: 39.08 kB / 3.103 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/5.869, allocations: 46.23 kB / 3.103 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/5.871, allocations: 1.446 MB / 3.104 GB, free: 149.4 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.004099/5.875, allocations: 3.316 MB / 3.108 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/5.877, allocations: 1.488 MB / 3.109 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/5.877, allocations: 0.7369 MB / 3.11 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/5.879, allocations: 1.539 MB / 3.111 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/5.879, allocations: 0.7412 MB / 3.112 GB, free: 146.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 3.557e-06/5.88, allocations: 0 / 3.112 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.002544/5.882, allocations: 1.441 MB / 3.113 GB, free: 146.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/5.882, allocations: 93.23 kB / 3.113 GB, free: 146.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/5.883, allocations: 0.6871 MB / 3.114 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/5.883, allocations: 43.92 kB / 3.114 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/5.883, allocations: 354.5 kB / 3.115 GB, free: 146 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/5.884, allocations: 432.5 kB / 3.115 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/5.884, allocations: 18.69 kB / 3.115 GB, free: 145.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000161/5.884, allocations: 410.7 kB / 3.115 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/5.885, allocations: 0.5222 MB / 3.116 GB, free: 145.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/5.886, allocations: 0.6311 MB / 3.116 GB, free: 145.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/5.886, allocations: 0.6542 MB / 3.117 GB, free: 145.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/5.886, allocations: 0 / 3.117 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002138/5.889, allocations: 1.522 MB / 3.119 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/5.889, allocations: 37.47 kB / 3.119 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/5.889, allocations: 3.938 kB / 3.119 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/5.889, allocations: 11.52 kB / 3.119 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009075/5.89, allocations: 220.1 kB / 3.119 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/5.89, allocations: 7.656 kB / 3.119 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/5.891, allocations: 127.9 kB / 3.119 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/5.891, allocations: 52.19 kB / 3.119 GB, free: 145.1 MB / 0.698 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 () * 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.000218/5.891, allocations: 205.6 kB / 3.119 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/5.891, allocations: 104.1 kB / 3.119 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/5.894, allocations: 1.683 MB / 3.121 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/5.894, allocations: 11.75 kB / 3.121 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/5.894, allocations: 5.359 kB / 3.121 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/5.894, allocations: 6.891 kB / 3.121 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/5.899, allocations: 3.845 MB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/5.899, allocations: 7.625 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/5.899, allocations: 214.3 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/5.899, allocations: 15.22 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/5.9, allocations: 38.72 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/5.9, allocations: 15.81 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/5.9, allocations: 16.42 kB / 3.125 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/5.903, allocations: 3.012 MB / 3.128 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/5.903, allocations: 337.4 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/5.903, allocations: 37.95 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/5.904, allocations: 64.62 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/5.904, allocations: 94.45 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/5.904, allocations: 55.38 kB / 3.129 GB, free: 142.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005985/5.905, allocations: 0.5417 MB / 3.129 GB, free: 142.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/5.905, allocations: 3.531 kB / 3.129 GB, free: 142.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001399/5.906, allocations: 0.5107 MB / 3.13 GB, free: 142.7 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.001865/5.908, allocations: 1.621 MB / 3.131 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00166/5.91, allocations: 1.34 MB / 3.132 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/5.91, allocations: 0 / 3.132 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/5.911, allocations: 0.7495 MB / 3.133 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/5.913, allocations: 390.2 kB / 3.134 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/5.915, allocations: 1.931 MB / 3.135 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/5.916, allocations: 1.13 MB / 3.137 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001172/5.917, allocations: 428.1 kB / 3.137 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/5.917, allocations: 90.25 kB / 3.137 GB, free: 140.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/5.917, allocations: 0 / 3.137 GB, free: 140.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0473/5.964, allocations: 38.58 MB / 3.175 GB, free: 125.9 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)