Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007449/0.007449, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009639/0.0009639, allocations: 106.8 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.0005563, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4816, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.072/5.554, allocations: 1.883 GB / 2.533 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/5.554, allocations: 90.77 kB / 2.533 GB, free: 93.19 MB / 0.6823 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 3.025/8.579, allocations: 0.6687 GB / 3.202 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/8.579, allocations: 0 / 3.202 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.242e-05/8.579, allocations: 24.47 kB / 3.202 GB, free: 108.6 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004704/8.584, allocations: 1.484 MB / 3.203 GB, free: 108 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/8.584, allocations: 12.5 kB / 3.203 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/8.584, allocations: 123.6 kB / 3.203 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/8.585, allocations: 151 kB / 3.203 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/8.586, allocations: 0.5652 MB / 3.204 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/8.586, allocations: 52.94 kB / 3.204 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/8.586, allocations: 77.45 kB / 3.204 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/8.587, allocations: 0.8265 MB / 3.205 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/8.587, allocations: 1.219 kB / 3.205 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/8.588, allocations: 27.25 kB / 3.205 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/8.588, allocations: 48.27 kB / 3.205 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/8.589, allocations: 0.7322 MB / 3.206 GB, free: 107.6 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.004794/8.594, allocations: 4.583 MB / 3.21 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/8.595, allocations: 471.9 kB / 3.211 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/8.595, allocations: 0.7639 MB / 3.211 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/8.595, allocations: 32.83 kB / 3.211 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.896e-06/8.595, allocations: 0 / 3.211 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001287/8.596, allocations: 0.6135 MB / 3.212 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/8.596, allocations: 57.62 kB / 3.212 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/8.597, allocations: 0.7769 MB / 3.213 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/8.597, allocations: 35.98 kB / 3.213 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/8.598, allocations: 390.1 kB / 3.213 GB, free: 103 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/8.598, allocations: 140 kB / 3.213 GB, free: 103 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/8.598, allocations: 9.25 kB / 3.213 GB, free: 103 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001015/8.598, allocations: 324.5 kB / 3.214 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/8.598, allocations: 184.2 kB / 3.214 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/8.599, allocations: 295 kB / 3.214 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/8.599, allocations: 222.4 kB / 3.214 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/8.599, allocations: 3.094 kB / 3.214 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009627/8.6, allocations: 0.5972 MB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/8.6, allocations: 4.656 kB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/8.6, allocations: 7.281 kB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/8.6, allocations: 3.594 kB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/8.601, allocations: 100.5 kB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/8.601, allocations: 5.625 kB / 3.215 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/8.602, allocations: 115.9 kB / 3.215 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/8.602, allocations: 22.08 kB / 3.215 GB, free: 102.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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.0003698/8.602, allocations: 245.2 kB / 3.215 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/8.602, allocations: 82.36 kB / 3.216 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/8.603, allocations: 0.5593 MB / 3.216 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/8.603, allocations: 3.688 kB / 3.216 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/8.603, allocations: 0 / 3.216 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/8.603, allocations: 4.531 kB / 3.216 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/8.606, allocations: 2.074 MB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/8.606, allocations: 6.219 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/8.607, allocations: 91.94 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/8.607, allocations: 10.47 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/8.607, allocations: 13.38 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/8.607, allocations: 15.81 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/8.607, allocations: 13.66 kB / 3.218 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/8.608, allocations: 1.303 MB / 3.22 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/8.609, allocations: 222.9 kB / 3.22 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/8.609, allocations: 22.42 kB / 3.22 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/8.609, allocations: 59.14 kB / 3.22 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/8.61, allocations: 51.25 kB / 3.22 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/8.61, allocations: 20.78 kB / 3.22 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007435/8.61, allocations: 0.6269 MB / 3.221 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/8.61, allocations: 2.812 kB / 3.221 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001663/8.612, allocations: 447.1 kB / 3.221 GB, free: 100.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.005758/8.618, allocations: 5.581 MB / 3.226 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001129/8.619, allocations: 449.9 kB / 3.227 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/8.619, allocations: 0 / 3.227 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/8.619, allocations: 237.3 kB / 3.227 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/8.622, allocations: 480.4 kB / 3.228 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/8.63, allocations: 6.058 MB / 3.233 GB, free: 93.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/8.63, allocations: 1.028 MB / 3.234 GB, free: 93.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001044/8.631, allocations: 182.9 kB / 3.235 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/8.632, allocations: 291.6 kB / 3.235 GB, free: 93.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/8.632, allocations: 2.75 kB / 3.235 GB, free: 93.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/8.722, allocations: 53.65 MB / 3.287 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/8.722, allocations: 206.9 kB / 3.287 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.113/12.83, allocations: 0 / 3.287 GB, free: 82.54 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)