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.001548/0.001548, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.734/0.734, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.678/1.678, allocations: 221.3 MB / 400.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008469, allocations: 94.47 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.241e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.442, allocations: 1.898 GB / 2.539 GB, free: 39.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/5.442, allocations: 87.95 kB / 2.539 GB, free: 39.02 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.836/13.28, allocations: 1.668 GB / 4.207 GB, free: 64.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/13.28, allocations: 0 / 4.207 GB, free: 64.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004633/13.28, allocations: 64.81 kB / 4.207 GB, free: 64.97 MB / 0.7448 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.01593/13.29, allocations: 3.251 MB / 4.21 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/13.29, allocations: 8.812 kB / 4.21 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/13.3, allocations: 349 kB / 4.211 GB, free: 64.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007257/13.3, allocations: 0.7966 MB / 4.212 GB, free: 63.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/13.31, allocations: 1.684 MB / 4.213 GB, free: 63.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/13.31, allocations: 188.6 kB / 4.213 GB, free: 63.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/13.31, allocations: 254.8 kB / 4.214 GB, free: 63.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008475/13.32, allocations: 2.961 MB / 4.217 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/13.32, allocations: 5.531 kB / 4.217 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006838/13.32, allocations: 102.5 kB / 4.217 GB, free: 63.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/13.32, allocations: 116.8 kB / 4.217 GB, free: 63.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005934/13.33, allocations: 2.648 MB / 4.219 GB, free: 63.25 MB / 0.7448 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.01916/13.35, allocations: 12.38 MB / 4.231 GB, free: 56.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/13.35, allocations: 2.059 MB / 4.233 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/13.35, allocations: 1.208 MB / 4.235 GB, free: 55.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/13.35, allocations: 1.378 MB / 4.236 GB, free: 54.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/13.35, allocations: 56.84 kB / 4.236 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 4.829e-06/13.35, allocations: 1.562 kB / 4.236 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.004526/13.36, allocations: 1.989 MB / 4.238 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/13.36, allocations: 75.58 kB / 4.238 GB, free: 54.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/13.36, allocations: 1.13 MB / 4.239 GB, free: 53.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/13.36, allocations: 64.33 kB / 4.239 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/13.36, allocations: 0.9622 MB / 4.24 GB, free: 53.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007502/13.36, allocations: 0.6713 MB / 4.241 GB, free: 53.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/13.36, allocations: 35.75 kB / 4.241 GB, free: 53.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001646/13.36, allocations: 377.2 kB / 4.241 GB, free: 52.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/13.36, allocations: 0.7462 MB / 4.242 GB, free: 52.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/13.37, allocations: 0.9985 MB / 4.243 GB, free: 52.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/13.37, allocations: 0.9001 MB / 4.244 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/13.37, allocations: 0 / 4.244 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003713/13.37, allocations: 2.098 MB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/13.37, allocations: 11.75 kB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/13.37, allocations: 6.656 kB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/13.37, allocations: 12.56 kB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/13.37, allocations: 376.1 kB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/13.37, allocations: 14.12 kB / 4.246 GB, free: 52.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/13.38, allocations: 302.2 kB / 4.247 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/13.38, allocations: 60.86 kB / 4.247 GB, free: 52.26 MB / 0.7448 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.0004126/13.38, allocations: 201.3 kB / 4.247 GB, free: 52.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007325/13.38, allocations: 198.5 kB / 4.247 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/13.38, allocations: 2.21 MB / 4.249 GB, free: 51.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/13.38, allocations: 17.19 kB / 4.249 GB, free: 51.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/13.38, allocations: 0 / 4.249 GB, free: 51.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002669/13.38, allocations: 1.819 MB / 4.251 GB, free: 51.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/13.39, allocations: 5.037 MB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/13.39, allocations: 6.641 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/13.4, allocations: 440.2 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-05/13.4, allocations: 11.28 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/13.4, allocations: 54.22 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-05/13.4, allocations: 13.5 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/13.4, allocations: 4.812 kB / 4.256 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/13.4, allocations: 3.647 MB / 4.26 GB, free: 50.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/13.4, allocations: 0.4982 MB / 4.26 GB, free: 50.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/13.4, allocations: 48.42 kB / 4.26 GB, free: 50.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/13.41, allocations: 209.3 kB / 4.261 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/13.41, allocations: 112.8 kB / 4.261 GB, free: 50.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/13.41, allocations: 68.77 kB / 4.261 GB, free: 50.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002005/13.41, allocations: 0.8826 MB / 4.262 GB, free: 50.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/13.41, allocations: 2.078 kB / 4.262 GB, free: 50.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005276/13.41, allocations: 1.226 MB / 4.263 GB, free: 50.12 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.01403/13.43, allocations: 8.971 MB / 4.272 GB, free: 46.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003899/13.43, allocations: 1.916 MB / 4.273 GB, free: 46.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/13.43, allocations: 3.906 kB / 4.273 GB, free: 46.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/13.43, allocations: 1.039 MB / 4.275 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006884/13.44, allocations: 1.159 MB / 4.276 GB, free: 46.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/13.45, allocations: 5.129 MB / 4.281 GB, free: 45.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/13.46, allocations: 1.876 MB / 4.282 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003544/13.46, allocations: 0.6232 MB / 4.283 GB, free: 44.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/13.46, allocations: 0.9867 MB / 4.284 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/13.46, allocations: 0 / 4.284 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/13.67, allocations: 123.9 MB / 4.405 GB, free: 23.63 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/13.67, allocations: 186.5 kB / 4.405 GB, free: 23.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/20.36, allocations: 64 / 4.405 GB, free: 23.4 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)