Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",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.7999/0.7999, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001356/0.001356, allocations: 177 kB / 191.5 MB, free: 5.758 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.546/1.546, allocations: 223.2 MB / 447.7 MB, free: 4.867 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.0009462/0.0009464, allocations: 95.53 kB / 0.5187 GB, free: 1.227 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 265.5 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 15.88 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1627, allocations: 82.8 MB / 0.7738 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/4.335, allocations: 1.895 GB / 2.669 GB, free: 182.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/4.336, allocations: 89.08 kB / 2.669 GB, free: 182.6 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 5.812/10.15, allocations: 1.669 GB / 4.338 GB, free: 61.14 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.805e-06/10.15, allocations: 0 / 4.338 GB, free: 61.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000167/10.15, allocations: 66.27 kB / 4.338 GB, free: 61.13 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01318/10.16, allocations: 3.582 MB / 4.341 GB, free: 59.88 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/10.16, allocations: 9.031 kB / 4.341 GB, free: 59.88 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008711/10.16, allocations: 354 kB / 4.342 GB, free: 59.83 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/10.17, allocations: 0.7952 MB / 4.342 GB, free: 59.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/10.17, allocations: 1.671 MB / 4.344 GB, free: 59.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/10.17, allocations: 189.2 kB / 4.344 GB, free: 59.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/10.17, allocations: 251.6 kB / 4.344 GB, free: 59.22 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00498/10.18, allocations: 3.024 MB / 4.347 GB, free: 58.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/10.18, allocations: 11.55 kB / 4.347 GB, free: 58.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/10.18, allocations: 97.34 kB / 4.347 GB, free: 58.9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/10.18, allocations: 120.4 kB / 4.348 GB, free: 58.89 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/10.18, allocations: 2.719 MB / 4.35 GB, free: 58.86 MB / 0.7605 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.01402/10.2, allocations: 12.37 MB / 4.362 GB, free: 51.75 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/10.2, allocations: 2.083 MB / 4.364 GB, free: 51.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/10.2, allocations: 1.383 MB / 4.366 GB, free: 49.84 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/10.2, allocations: 55.62 kB / 4.366 GB, free: 49.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=197): time 4.969e-06/10.2, allocations: 0 / 4.366 GB, free: 49.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197): time 0.005328/10.21, allocations: 2.799 MB / 4.369 GB, free: 49.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/10.21, allocations: 76.62 kB / 4.369 GB, free: 49.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/10.21, allocations: 1.131 MB / 4.37 GB, free: 49.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/10.21, allocations: 64.83 kB / 4.37 GB, free: 49.37 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/10.21, allocations: 0.9545 MB / 4.371 GB, free: 48.99 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006456/10.21, allocations: 0.6766 MB / 4.371 GB, free: 48.55 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/10.21, allocations: 32.47 kB / 4.371 GB, free: 48.55 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001295/10.21, allocations: 371.9 kB / 4.372 GB, free: 48.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/10.21, allocations: 0.769 MB / 4.372 GB, free: 48.24 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/10.21, allocations: 1.015 MB / 4.373 GB, free: 48.03 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/10.21, allocations: 0.9155 MB / 4.374 GB, free: 48.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/10.21, allocations: 0 / 4.374 GB, free: 48.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003201/10.22, allocations: 2.136 MB / 4.376 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/10.22, allocations: 5.656 kB / 4.376 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/10.22, allocations: 5.688 kB / 4.376 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/10.22, allocations: 14.69 kB / 4.376 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/10.22, allocations: 378.2 kB / 4.377 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/10.22, allocations: 10.84 kB / 4.377 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/10.22, allocations: 294.3 kB / 4.377 GB, free: 47.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/10.22, allocations: 73.98 kB / 4.377 GB, free: 47.76 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.001395/10.22, allocations: 0.5984 MB / 4.378 GB, free: 47.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/10.22, allocations: 202.5 kB / 4.378 GB, free: 47.54 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/10.23, allocations: 2.233 MB / 4.38 GB, free: 47.42 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/10.23, allocations: 17.97 kB / 4.38 GB, free: 47.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/10.23, allocations: 2.344 kB / 4.38 GB, free: 47.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002547/10.23, allocations: 1.852 MB / 4.382 GB, free: 47.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008034/10.24, allocations: 5.07 MB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/10.24, allocations: 3.938 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/10.24, allocations: 434 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/10.24, allocations: 12 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/10.24, allocations: 57.59 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/10.24, allocations: 12.62 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/10.24, allocations: 4.906 kB / 4.387 GB, free: 46.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/10.24, allocations: 3.688 MB / 4.391 GB, free: 46.09 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/10.25, allocations: 0.5047 MB / 4.392 GB, free: 45.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/10.25, allocations: 42.88 kB / 4.392 GB, free: 45.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/10.25, allocations: 207.3 kB / 4.392 GB, free: 45.85 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/10.25, allocations: 123.1 kB / 4.392 GB, free: 45.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/10.25, allocations: 70.94 kB / 4.392 GB, free: 45.85 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001256/10.25, allocations: 0.8839 MB / 4.393 GB, free: 45.74 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/10.25, allocations: 0 / 4.393 GB, free: 45.74 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004001/10.25, allocations: 1.23 MB / 4.394 GB, free: 45.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * 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.01233/10.27, allocations: 9.021 MB / 4.403 GB, free: 42.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003468/10.27, allocations: 1.952 MB / 4.405 GB, free: 41.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/10.27, allocations: 3.969 kB / 4.405 GB, free: 41.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/10.27, allocations: 1.049 MB / 4.406 GB, free: 41.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006026/10.28, allocations: 1.166 MB / 4.407 GB, free: 41.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/10.3, allocations: 16.17 MB / 4.423 GB, free: 35.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/10.31, allocations: 1.876 MB / 4.425 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003323/10.31, allocations: 0.6239 MB / 4.425 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/10.31, allocations: 0.9802 MB / 4.426 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of SimCode: time 2.003e-06/10.31, allocations: 0 / 4.426 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1959/10.51, allocations: 114.3 MB / 4.538 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/10.51, allocations: 227.7 kB / 4.538 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/16.88, allocations: 0 / 4.538 GB, free: 5.652 MB / 0.7917 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)