Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",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.001444/0.001444, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8042/0.8042, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.0009694/0.0009693, allocations: 102.1 kB / 478.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.38e-05, allocations: 0 / 0.5535 GB, free: 9.008 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.568, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.06/5.628, allocations: 1.898 GB / 2.532 GB, free: 99.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.628, allocations: 86.2 kB / 2.532 GB, free: 99.68 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 7.042/12.67, allocations: 1.651 GB / 4.183 GB, free: 48.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/12.67, allocations: 0 / 4.183 GB, free: 48.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002922/12.67, allocations: 67.52 kB / 4.183 GB, free: 48.44 MB / 0.7292 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.01272/12.68, allocations: 3.252 MB / 4.186 GB, free: 45.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/12.68, allocations: 8.031 kB / 4.186 GB, free: 45.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/12.69, allocations: 0.7927 MB / 4.187 GB, free: 44.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/12.69, allocations: 1.693 MB / 4.188 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/12.69, allocations: 76 kB / 4.188 GB, free: 42.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/12.7, allocations: 148 kB / 4.188 GB, free: 42.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005632/12.7, allocations: 2.337 MB / 4.191 GB, free: 40.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007693/12.71, allocations: 2.622 MB / 4.193 GB, free: 37.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/12.71, allocations: 23.72 kB / 4.193 GB, free: 37.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006408/12.71, allocations: 0 / 4.193 GB, free: 37.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/12.71, allocations: 120.7 kB / 4.193 GB, free: 37.18 MB / 0.7292 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.01791/12.73, allocations: 12.12 MB / 4.205 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/12.73, allocations: 2.613 MB / 4.208 GB, free: 21.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/12.73, allocations: 1.168 MB / 4.209 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/12.73, allocations: 1.39 MB / 4.21 GB, free: 18.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/12.73, allocations: 52.56 kB / 4.21 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=197): time 5.29e-06/12.73, allocations: 0 / 4.21 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197): time 0.004272/12.74, allocations: 2.01 MB / 4.212 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/12.74, allocations: 73.41 kB / 4.212 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/12.74, allocations: 0.862 MB / 4.213 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/12.74, allocations: 25.7 kB / 4.213 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/12.74, allocations: 0.9619 MB / 4.214 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/12.74, allocations: 0.6503 MB / 4.215 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/12.74, allocations: 0 / 4.215 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001343/12.74, allocations: 373.9 kB / 4.215 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/12.74, allocations: 0.7615 MB / 4.216 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/12.74, allocations: 1.004 MB / 4.217 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/12.75, allocations: 0.9428 MB / 4.218 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/12.75, allocations: 4 kB / 4.218 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00361/12.75, allocations: 2.096 MB / 4.22 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/12.75, allocations: 11.95 kB / 4.22 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/12.75, allocations: 0 / 4.22 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/12.75, allocations: 12 kB / 4.22 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/12.75, allocations: 395.7 kB / 4.22 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/12.75, allocations: 12 kB / 4.22 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/12.75, allocations: 242.5 kB / 4.221 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/12.75, allocations: 71.97 kB / 4.221 GB, free: 7.723 MB / 0.7292 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 () * 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.0003847/12.76, allocations: 124.7 kB / 4.221 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003652/12.76, allocations: 1.975 MB / 4.223 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/12.76, allocations: 181.8 kB / 4.223 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/12.76, allocations: 2.177 MB / 4.225 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/12.76, allocations: 19.66 kB / 4.225 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/12.76, allocations: 7.984 kB / 4.225 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002569/12.77, allocations: 1.842 MB / 4.227 GB, free: 1.367 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.01138/12.78, allocations: 5.097 MB / 4.232 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/12.78, allocations: 8 kB / 4.232 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/12.78, allocations: 455.7 kB / 4.232 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-05/12.78, allocations: 12 kB / 4.232 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/12.78, allocations: 35.95 kB / 4.232 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/12.78, allocations: 8 kB / 4.232 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/12.78, allocations: 15.81 kB / 4.232 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/12.79, allocations: 3.677 MB / 4.236 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/12.79, allocations: 0.5024 MB / 4.236 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/12.79, allocations: 12 kB / 4.236 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/12.79, allocations: 171.6 kB / 4.237 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/12.79, allocations: 121.8 kB / 4.237 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/12.79, allocations: 75.95 kB / 4.237 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001398/12.79, allocations: 0.6652 MB / 4.237 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/12.79, allocations: 0 / 4.237 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004045/12.8, allocations: 1.068 MB / 4.238 GB, free: 5.195 MB / 0.7448 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 () * 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.5517/13.35, allocations: 9.389 MB / 4.248 GB, free: 80.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003815/13.35, allocations: 1.939 MB / 4.249 GB, free: 80.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/13.35, allocations: 2.906 kB / 4.249 GB, free: 80.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/13.35, allocations: 1.052 MB / 4.25 GB, free: 80.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/13.36, allocations: 0.9812 MB / 4.251 GB, free: 80.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/13.37, allocations: 4.997 MB / 4.256 GB, free: 79.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/13.37, allocations: 1.877 MB / 4.258 GB, free: 78.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002776/13.37, allocations: 0.621 MB / 4.259 GB, free: 78.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/13.37, allocations: 0.9751 MB / 4.26 GB, free: 78.25 MB / 0.7448 GB Notification: Performance of SimCode: time 9.81e-07/13.37, allocations: 0 / 4.26 GB, free: 78.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/13.51, allocations: 81.59 MB / 4.339 GB, free: 74.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/13.51, allocations: 165.4 kB / 4.34 GB, free: 74.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.983/18.49, allocations: 0 / 4.34 GB, free: 74.29 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)