Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.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.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X",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.7771/0.7771, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001089/0.001089, 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.571/1.571, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009783/0.0009777, allocations: 96.31 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002003, allocations: 276.2 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 10.56 kB / 0.6929 GB, free: 59.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1877, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.145, allocations: 1.849 GB / 2.623 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/5.146, allocations: 92.02 kB / 2.623 GB, free: 227.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.282/7.428, allocations: 0.6059 GB / 3.229 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/7.428, allocations: 3.938 kB / 3.229 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.14e-05/7.428, allocations: 25.14 kB / 3.229 GB, free: 141.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.003134/7.431, allocations: 1.146 MB / 3.23 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/7.432, allocations: 10.56 kB / 3.23 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.887e-05/7.432, allocations: 81.06 kB / 3.23 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/7.433, allocations: 220 kB / 3.23 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/7.435, allocations: 0.8968 MB / 3.231 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/7.435, allocations: 31.53 kB / 3.231 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/7.435, allocations: 46.16 kB / 3.231 GB, free: 140.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/7.436, allocations: 0.4999 MB / 3.232 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/7.436, allocations: 3.594 kB / 3.232 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/7.436, allocations: 15.02 kB / 3.232 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/7.436, allocations: 20.03 kB / 3.232 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/7.437, allocations: 418.2 kB / 3.232 GB, free: 140.3 MB / 0.7136 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.002624/7.44, allocations: 2.144 MB / 3.234 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/7.44, allocations: 256.4 kB / 3.234 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/7.441, allocations: 0.818 MB / 3.235 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/7.441, allocations: 201 kB / 3.235 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/7.441, allocations: 0 / 3.235 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0008951/7.442, allocations: 432.3 kB / 3.236 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/7.442, allocations: 109.8 kB / 3.236 GB, free: 138 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/7.443, allocations: 0.552 MB / 3.236 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/7.443, allocations: 32.11 kB / 3.236 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/7.443, allocations: 332 kB / 3.237 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/7.443, allocations: 88.84 kB / 3.237 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/7.443, allocations: 6.016 kB / 3.237 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/7.443, allocations: 378.9 kB / 3.237 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/7.443, allocations: 104.5 kB / 3.237 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/7.444, allocations: 300.3 kB / 3.238 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/7.444, allocations: 145.9 kB / 3.238 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.444, allocations: 7.531 kB / 3.238 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005885/7.445, allocations: 440.7 kB / 3.238 GB, free: 137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003329/7.445, allocations: 1.838 MB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/7.445, allocations: 3.938 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/7.445, allocations: 7.125 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/7.445, allocations: 83.67 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/7.445, allocations: 10.28 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/7.446, allocations: 61.56 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/7.446, allocations: 25.17 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/7.446, allocations: 7.406 kB / 3.24 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004904/7.446, allocations: 358.5 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/7.446, allocations: 14.97 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/7.446, allocations: 3.906 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/7.447, allocations: 83.03 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/7.447, allocations: 7.406 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/7.447, allocations: 51.3 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/7.447, allocations: 23.28 kB / 3.241 GB, free: 135.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002399/7.447, allocations: 299.4 kB / 3.241 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/7.447, allocations: 59.94 kB / 3.241 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/7.448, allocations: 314.9 kB / 3.241 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/7.448, allocations: 3.938 kB / 3.241 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/7.448, allocations: 3.875 kB / 3.241 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/7.448, allocations: 6.453 kB / 3.241 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/7.449, allocations: 1.161 MB / 3.242 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/7.449, allocations: 2.125 kB / 3.242 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/7.449, allocations: 48.34 kB / 3.243 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/7.449, allocations: 2.938 kB / 3.243 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/7.449, allocations: 14.72 kB / 3.243 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/7.449, allocations: 3.938 kB / 3.243 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.449, allocations: 7.734 kB / 3.243 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/7.45, allocations: 0.5723 MB / 3.243 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/7.45, allocations: 176.1 kB / 3.243 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/7.45, allocations: 11.03 kB / 3.243 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/7.45, allocations: 15.19 kB / 3.243 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/7.451, allocations: 31.62 kB / 3.243 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/7.451, allocations: 10.88 kB / 3.243 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004016/7.451, allocations: 444.5 kB / 3.244 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/7.451, allocations: 0 / 3.244 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001324/7.452, allocations: 413.7 kB / 3.244 GB, free: 133.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003337/7.456, allocations: 3.354 MB / 3.247 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007478/7.456, allocations: 471 kB / 3.248 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.456, allocations: 2.875 kB / 3.248 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/7.457, allocations: 128.9 kB / 3.248 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/7.458, allocations: 258.3 kB / 3.248 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/7.465, allocations: 7.076 MB / 3.255 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/7.465, allocations: 0.9089 MB / 3.256 GB, free: 126.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000745/7.466, allocations: 172.4 kB / 3.256 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/7.466, allocations: 209.7 kB / 3.256 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/7.466, allocations: 3.656 kB / 3.256 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05681/7.523, allocations: 36.45 MB / 3.292 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/7.523, allocations: 238.5 kB / 3.292 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/10.91, allocations: 0 / 3.292 GB, free: 103.6 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)