Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IDEAS_dev_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.01152/0.01152, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.2 MB / 151 MB, free: 13.85 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.853/1.853, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001234/0.001234, allocations: 108.4 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 11.98 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5838, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.707, allocations: 1.898 GB / 2.548 GB, free: 39.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/5.707, allocations: 98.19 kB / 2.548 GB, free: 39.08 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 5.867/11.57, allocations: 1.67 GB / 4.218 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/11.57, allocations: 3.688 kB / 4.218 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001955/11.57, allocations: 66.53 kB / 4.218 GB, free: 60.56 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.01301/11.59, allocations: 3.584 MB / 4.221 GB, free: 59.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/11.59, allocations: 14.61 kB / 4.221 GB, free: 59.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00117/11.59, allocations: 350.3 kB / 4.222 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006276/11.59, allocations: 0.8006 MB / 4.222 GB, free: 59.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/11.6, allocations: 1.695 MB / 4.224 GB, free: 59.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/11.6, allocations: 188.8 kB / 4.224 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/11.6, allocations: 253.7 kB / 4.225 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/11.61, allocations: 3.014 MB / 4.227 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/11.61, allocations: 8.125 kB / 4.227 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/11.61, allocations: 101.8 kB / 4.228 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/11.61, allocations: 120 kB / 4.228 GB, free: 58.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/11.61, allocations: 2.72 MB / 4.23 GB, free: 58.65 MB / 0.7448 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.01554/11.63, allocations: 12.38 MB / 4.242 GB, free: 51.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/11.63, allocations: 2.089 MB / 4.244 GB, free: 51.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/11.63, allocations: 1.383 MB / 4.246 GB, free: 49.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/11.63, allocations: 51.84 kB / 4.246 GB, free: 49.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 3.547e-06/11.63, allocations: 3.719 kB / 4.246 GB, free: 49.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.005079/11.63, allocations: 2.791 MB / 4.249 GB, free: 49.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/11.63, allocations: 71.47 kB / 4.249 GB, free: 49.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/11.64, allocations: 1.141 MB / 4.25 GB, free: 49.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/11.64, allocations: 70.28 kB / 4.25 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/11.64, allocations: 0.9566 MB / 4.251 GB, free: 48.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006887/11.64, allocations: 0.6769 MB / 4.251 GB, free: 48.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/11.64, allocations: 29.97 kB / 4.251 GB, free: 48.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001112/11.64, allocations: 383.2 kB / 4.252 GB, free: 48.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/11.64, allocations: 0.7667 MB / 4.253 GB, free: 48.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/11.64, allocations: 1.018 MB / 4.254 GB, free: 47.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/11.64, allocations: 0.918 MB / 4.254 GB, free: 47.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/11.64, allocations: 0 / 4.254 GB, free: 47.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003312/11.65, allocations: 2.135 MB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/11.65, allocations: 7.812 kB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/11.65, allocations: 3.281 kB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/11.65, allocations: 11.38 kB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/11.65, allocations: 379 kB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/11.65, allocations: 14.03 kB / 4.257 GB, free: 47.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/11.65, allocations: 293.1 kB / 4.257 GB, free: 47.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/11.65, allocations: 64.64 kB / 4.257 GB, free: 47.61 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 () * 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.00137/11.65, allocations: 0.5955 MB / 4.258 GB, free: 47.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/11.65, allocations: 193.4 kB / 4.258 GB, free: 47.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/11.66, allocations: 2.252 MB / 4.26 GB, free: 47.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/11.66, allocations: 20.16 kB / 4.26 GB, free: 47.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/11.66, allocations: 8.359 kB / 4.26 GB, free: 47.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002442/11.66, allocations: 1.851 MB / 4.262 GB, free: 47.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008503/11.67, allocations: 5.071 MB / 4.267 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/11.67, allocations: 1.656 kB / 4.267 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/11.67, allocations: 439.7 kB / 4.267 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-05/11.67, allocations: 10.78 kB / 4.267 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/11.67, allocations: 57.03 kB / 4.268 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/11.67, allocations: 9.531 kB / 4.268 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/11.67, allocations: 1.531 kB / 4.268 GB, free: 46.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/11.67, allocations: 3.703 MB / 4.271 GB, free: 45.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/11.68, allocations: 0.5055 MB / 4.272 GB, free: 45.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/11.68, allocations: 43.36 kB / 4.272 GB, free: 45.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/11.68, allocations: 211.6 kB / 4.272 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/11.68, allocations: 116.5 kB / 4.272 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/11.68, allocations: 67.69 kB / 4.272 GB, free: 45.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001291/11.68, allocations: 0.8918 MB / 4.273 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.2e-07/11.68, allocations: 3 kB / 4.273 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003869/11.68, allocations: 1.221 MB / 4.274 GB, free: 45.48 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 () * 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.01166/11.69, allocations: 9.003 MB / 4.283 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003385/11.7, allocations: 1.955 MB / 4.285 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/11.7, allocations: 0 / 4.285 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/11.7, allocations: 1.058 MB / 4.286 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/11.71, allocations: 1.16 MB / 4.287 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/11.73, allocations: 16.25 MB / 4.303 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/11.73, allocations: 1.877 MB / 4.305 GB, free: 34.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002854/11.73, allocations: 0.6269 MB / 4.305 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/11.73, allocations: 0.9885 MB / 4.306 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/11.73, allocations: 0 / 4.306 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/11.91, allocations: 114.4 MB / 4.418 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/11.91, allocations: 213.2 kB / 4.418 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.781/17.69, allocations: 0 / 4.418 GB, free: 10.52 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)