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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.87/0.87, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.00123/0.00123, allocations: 176.9 kB / 182.2 MB, free: 9.465 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.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001018/0.001018, allocations: 90.11 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 277.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.814e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4327, allocations: 82.77 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.603/5.036, allocations: 1.883 GB / 2.64 GB, free: 176.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.036, allocations: 79.95 kB / 2.64 GB, free: 176.6 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.782/6.818, allocations: 456.4 MB / 3.086 GB, free: 147.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/6.818, allocations: 0 / 3.086 GB, free: 147.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-05/6.818, allocations: 26.34 kB / 3.086 GB, free: 147.6 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.004046/6.822, allocations: 1.511 MB / 3.087 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/6.822, allocations: 7.75 kB / 3.087 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/6.823, allocations: 158.5 kB / 3.088 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/6.824, allocations: 0.6384 MB / 3.088 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/6.824, allocations: 27.94 kB / 3.088 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/6.824, allocations: 49.59 kB / 3.088 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/6.826, allocations: 1.317 MB / 3.09 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/6.827, allocations: 1.046 MB / 3.091 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/6.827, allocations: 3.938 kB / 3.091 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/6.827, allocations: 3.953 kB / 3.091 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/6.828, allocations: 50.88 kB / 3.091 GB, free: 146.8 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.00419/6.832, allocations: 3.114 MB / 3.094 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/6.833, allocations: 1.428 MB / 3.095 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/6.834, allocations: 0.6913 MB / 3.096 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/6.835, allocations: 1.537 MB / 3.097 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009603/6.836, allocations: 0.6934 MB / 3.098 GB, free: 143.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 2.886e-06/6.836, allocations: 0.5 kB / 3.098 GB, free: 143.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.003421/6.84, allocations: 1.452 MB / 3.099 GB, free: 143.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/6.84, allocations: 96.58 kB / 3.099 GB, free: 143.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008604/6.841, allocations: 0.4943 MB / 3.1 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/6.841, allocations: 26.83 kB / 3.1 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/6.841, allocations: 371.3 kB / 3.1 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/6.841, allocations: 410.5 kB / 3.101 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/6.842, allocations: 0 / 3.101 GB, free: 143.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001687/6.842, allocations: 403.5 kB / 3.101 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/6.842, allocations: 0.4963 MB / 3.102 GB, free: 142.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/6.843, allocations: 0.6505 MB / 3.102 GB, free: 142.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/6.845, allocations: 0.7117 MB / 3.103 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/6.845, allocations: 0 / 3.103 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002739/6.847, allocations: 1.537 MB / 3.104 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/6.848, allocations: 35.77 kB / 3.104 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/6.848, allocations: 1.562 kB / 3.104 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/6.848, allocations: 18.12 kB / 3.104 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/6.848, allocations: 219.7 kB / 3.105 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/6.848, allocations: 7.688 kB / 3.105 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/6.849, allocations: 93.66 kB / 3.105 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/6.85, allocations: 47.31 kB / 3.105 GB, free: 142.6 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.000265/6.85, allocations: 169 kB / 3.105 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002564/6.852, allocations: 1.447 MB / 3.106 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/6.853, allocations: 89.81 kB / 3.106 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/6.856, allocations: 1.663 MB / 3.108 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/6.856, allocations: 11.31 kB / 3.108 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/6.856, allocations: 0 / 3.108 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/6.856, allocations: 17.03 kB / 3.108 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/6.863, allocations: 3.574 MB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/6.863, allocations: 3.594 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/6.864, allocations: 223 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.288e-05/6.864, allocations: 13.31 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/6.864, allocations: 20.92 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.603e-05/6.864, allocations: 19.22 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/6.864, allocations: 11.53 kB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/6.869, allocations: 2.987 MB / 3.115 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/6.87, allocations: 325.2 kB / 3.115 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/6.87, allocations: 20.97 kB / 3.115 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/6.871, allocations: 48.88 kB / 3.115 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/6.871, allocations: 90.47 kB / 3.115 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/6.871, allocations: 56.86 kB / 3.115 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005185/6.872, allocations: 393.1 kB / 3.116 GB, free: 140.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/6.872, allocations: 0 / 3.116 GB, free: 140.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001846/6.874, allocations: 452.9 kB / 3.116 GB, free: 140.3 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.008257/6.882, allocations: 7.094 MB / 3.123 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001803/6.884, allocations: 1.282 MB / 3.124 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/6.884, allocations: 0 / 3.124 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/6.885, allocations: 0.7119 MB / 3.125 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/6.886, allocations: 229.7 kB / 3.125 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/6.89, allocations: 2.087 MB / 3.127 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/6.891, allocations: 1.134 MB / 3.128 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001305/6.893, allocations: 407 kB / 3.129 GB, free: 135 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/6.893, allocations: 347.5 kB / 3.129 GB, free: 135 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/6.893, allocations: 0 / 3.129 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07057/6.964, allocations: 32.22 MB / 3.161 GB, free: 134.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/6.964, allocations: 183.8 kB / 3.161 GB, free: 134.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/10.03, allocations: 0 / 3.161 GB, free: 134.3 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)