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 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.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.8354/0.8354, 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.001222/0.001222, allocations: 183.8 kB / 191.5 MB, free: 5.77 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.718/1.718, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001142/0.001142, allocations: 96.19 kB / 0.5188 GB, free: 1.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.00177/0.001771, allocations: 262.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004941, allocations: 14 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.411/4.615, allocations: 1.883 GB / 2.657 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/4.616, allocations: 92.83 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.189/5.805, allocations: 462.8 MB / 3.109 GB, free: 18.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/5.805, allocations: 0 / 3.109 GB, free: 18.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.64e-05/5.805, allocations: 16 kB / 3.109 GB, free: 18.76 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.004052/5.809, allocations: 1.654 MB / 3.111 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/5.809, allocations: 12.03 kB / 3.111 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/5.81, allocations: 162.5 kB / 3.111 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/5.811, allocations: 0.6329 MB / 3.112 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/5.811, allocations: 69.98 kB / 3.112 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/5.811, allocations: 84 kB / 3.112 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/5.813, allocations: 1.184 MB / 3.113 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/5.813, allocations: 0 / 3.113 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/5.813, allocations: 36 kB / 3.113 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/5.813, allocations: 49.98 kB / 3.113 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/5.815, allocations: 1.472 MB / 3.114 GB, free: 13.3 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.004818/5.819, allocations: 3.602 MB / 3.118 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/5.821, allocations: 1.451 MB / 3.119 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/5.822, allocations: 0.9659 MB / 3.12 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008356/5.823, allocations: 0.7124 MB / 3.121 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=123): time 3.035e-06/5.823, allocations: 0 / 3.121 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=123): time 0.002764/5.826, allocations: 2.016 MB / 3.123 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/5.826, allocations: 94.06 kB / 3.123 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/5.827, allocations: 0.746 MB / 3.124 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/5.827, allocations: 49.7 kB / 3.124 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/5.827, allocations: 369.4 kB / 3.124 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/5.827, allocations: 414 kB / 3.125 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/5.827, allocations: 24 kB / 3.125 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/5.827, allocations: 353.9 kB / 3.125 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/5.828, allocations: 0.5218 MB / 3.125 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/5.829, allocations: 0.676 MB / 3.126 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/5.829, allocations: 0.6405 MB / 3.127 GB, free: 100 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/5.829, allocations: 8 kB / 3.127 GB, free: 92 kB / 0.7136 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.3989/6.228, allocations: 1.542 MB / 3.128 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/6.228, allocations: 35.97 kB / 3.128 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/6.228, allocations: 4.5 kB / 3.128 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/6.229, allocations: 6.719 kB / 3.128 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/6.229, allocations: 229.8 kB / 3.128 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/6.229, allocations: 10.72 kB / 3.128 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/6.23, allocations: 136.8 kB / 3.129 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/6.231, allocations: 54.48 kB / 3.129 GB, free: 143.7 MB / 0.7136 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.0005429/6.231, allocations: 369.6 kB / 3.129 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/6.231, allocations: 108.1 kB / 3.129 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/6.234, allocations: 1.661 MB / 3.131 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/6.234, allocations: 13.56 kB / 3.131 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/6.234, allocations: 0 / 3.131 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/6.234, allocations: 4.312 kB / 3.131 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/6.239, allocations: 3.434 MB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/6.239, allocations: 7.047 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008619/6.24, allocations: 209.1 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/6.24, allocations: 10.56 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/6.24, allocations: 38.89 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/6.24, allocations: 13.58 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/6.24, allocations: 13.5 kB / 3.134 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/6.243, allocations: 2.868 MB / 3.137 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007743/6.244, allocations: 355.9 kB / 3.138 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/6.244, allocations: 30.16 kB / 3.138 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/6.245, allocations: 46.19 kB / 3.138 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/6.245, allocations: 92.95 kB / 3.138 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/6.245, allocations: 48.27 kB / 3.138 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009985/6.246, allocations: 0.5956 MB / 3.138 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/6.246, allocations: 3.688 kB / 3.138 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001875/6.248, allocations: 0.5118 MB / 3.139 GB, free: 141.6 MB / 0.7136 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.002816/6.251, allocations: 1.617 MB / 3.14 GB, free: 141.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002349/6.253, allocations: 1.335 MB / 3.142 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/6.254, allocations: 1.344 kB / 3.142 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/6.255, allocations: 0.7261 MB / 3.142 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/6.257, allocations: 425.3 kB / 3.143 GB, free: 141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/6.261, allocations: 2.644 MB / 3.145 GB, free: 140 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/6.261, allocations: 1.129 MB / 3.146 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001499/6.263, allocations: 435.2 kB / 3.147 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/6.263, allocations: 90.98 kB / 3.147 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.223e-06/6.263, allocations: 0 / 3.147 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.05098/6.314, allocations: 35.4 MB / 3.182 GB, free: 138.7 MB / 0.7136 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)