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.6774/0.6774, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 182 kB / 187.3 MB, free: 11.88 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.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008616/0.0008618, allocations: 90.59 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 274.4 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.845e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.348, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.534/3.882, allocations: 1.849 GB / 2.613 GB, free: 198.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/3.882, allocations: 88.48 kB / 2.613 GB, free: 198.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.743/5.625, allocations: 0.6054 GB / 3.219 GB, free: 113.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/5.625, allocations: 0 / 3.219 GB, free: 113.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.211e-05/5.625, allocations: 22.44 kB / 3.219 GB, free: 113.2 MB / 0.698 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.002352/5.627, allocations: 1.038 MB / 3.22 GB, free: 112.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/5.627, allocations: 12.03 kB / 3.22 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.511e-05/5.627, allocations: 74.53 kB / 3.22 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/5.628, allocations: 223.5 kB / 3.22 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/5.63, allocations: 0.8822 MB / 3.221 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/5.63, allocations: 32.78 kB / 3.221 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/5.63, allocations: 40 kB / 3.221 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/5.631, allocations: 495.2 kB / 3.221 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/5.631, allocations: 0 / 3.221 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/5.631, allocations: 18.34 kB / 3.221 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/5.631, allocations: 16.69 kB / 3.221 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/5.632, allocations: 382.9 kB / 3.222 GB, free: 110 MB / 0.698 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.002143/5.634, allocations: 2.156 MB / 3.224 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/5.634, allocations: 250.6 kB / 3.224 GB, free: 107.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/5.635, allocations: 123.5 kB / 3.224 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007594/5.635, allocations: 0.8238 MB / 3.225 GB, free: 106.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/5.636, allocations: 188.3 kB / 3.225 GB, free: 106.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/5.636, allocations: 0 / 3.225 GB, free: 106.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0006351/5.636, allocations: 333.5 kB / 3.226 GB, free: 105.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/5.636, allocations: 110.8 kB / 3.226 GB, free: 105.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/5.637, allocations: 0.5539 MB / 3.226 GB, free: 105.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/5.637, allocations: 29.7 kB / 3.226 GB, free: 105.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/5.637, allocations: 334.9 kB / 3.227 GB, free: 104.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/5.637, allocations: 82.84 kB / 3.227 GB, free: 104.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/5.637, allocations: 4 kB / 3.227 GB, free: 104.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/5.637, allocations: 374.7 kB / 3.227 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/5.637, allocations: 104.7 kB / 3.227 GB, free: 104.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/5.637, allocations: 295.7 kB / 3.227 GB, free: 103.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/5.638, allocations: 159 kB / 3.228 GB, free: 103.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/5.638, allocations: 4 kB / 3.228 GB, free: 103.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005071/5.638, allocations: 432 kB / 3.228 GB, free: 103.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/5.639, allocations: 1.843 MB / 3.23 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/5.639, allocations: 4 kB / 3.23 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/5.639, allocations: 8 kB / 3.23 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/5.639, allocations: 71.91 kB / 3.23 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/5.639, allocations: 15.92 kB / 3.23 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/5.639, allocations: 61.73 kB / 3.23 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/5.639, allocations: 20 kB / 3.23 GB, free: 101.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/5.639, allocations: 4 kB / 3.23 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004509/5.64, allocations: 352.4 kB / 3.23 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/5.64, allocations: 7.344 kB / 3.23 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/5.64, allocations: 8 kB / 3.23 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/5.64, allocations: 83.84 kB / 3.23 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/5.64, allocations: 11.92 kB / 3.23 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/5.64, allocations: 50.3 kB / 3.23 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/5.64, allocations: 24 kB / 3.23 GB, free: 100.6 MB / 0.698 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 () * 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 8.329e-05/5.64, allocations: 134.3 kB / 3.231 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/5.641, allocations: 63.19 kB / 3.231 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/5.641, allocations: 313.4 kB / 3.231 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/5.641, allocations: 4 kB / 3.231 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/5.641, allocations: 0 / 3.231 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/5.641, allocations: 0 / 3.231 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/5.642, allocations: 1.157 MB / 3.232 GB, free: 98.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/5.642, allocations: 8 kB / 3.232 GB, free: 98.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/5.642, allocations: 43.91 kB / 3.232 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/5.642, allocations: 6.438 kB / 3.232 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/5.642, allocations: 19.31 kB / 3.232 GB, free: 98.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/5.642, allocations: 4 kB / 3.232 GB, free: 98.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/5.642, allocations: 4 kB / 3.232 GB, free: 98.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/5.643, allocations: 0.5691 MB / 3.233 GB, free: 98.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/5.643, allocations: 176.2 kB / 3.233 GB, free: 97.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/5.643, allocations: 11.98 kB / 3.233 GB, free: 97.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/5.643, allocations: 16 kB / 3.233 GB, free: 97.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/5.643, allocations: 23.86 kB / 3.233 GB, free: 97.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/5.643, allocations: 12 kB / 3.233 GB, free: 97.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003629/5.644, allocations: 443.1 kB / 3.233 GB, free: 97.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/5.644, allocations: 0 / 3.233 GB, free: 97.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001122/5.645, allocations: 419.4 kB / 3.234 GB, free: 97.04 MB / 0.698 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) * 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.002727/5.648, allocations: 3.283 MB / 3.237 GB, free: 93.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006039/5.648, allocations: 486.1 kB / 3.237 GB, free: 93.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.648, allocations: 4.062 kB / 3.237 GB, free: 93.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/5.648, allocations: 131.8 kB / 3.238 GB, free: 93.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/5.649, allocations: 260.8 kB / 3.238 GB, free: 93.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/5.653, allocations: 1.708 MB / 3.24 GB, free: 91.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/5.653, allocations: 0.9109 MB / 3.24 GB, free: 90.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000745/5.654, allocations: 236.7 kB / 3.241 GB, free: 90.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/5.654, allocations: 195.4 kB / 3.241 GB, free: 89.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/5.654, allocations: 7.938 kB / 3.241 GB, free: 89.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/5.706, allocations: 41.11 MB / 3.281 GB, free: 48.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/5.706, allocations: 217.2 kB / 3.281 GB, free: 48.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/8.719, allocations: 0 / 3.281 GB, free: 48.73 MB / 0.698 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)