Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.676/0.676, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009641/0.0009641, allocations: 189.7 kB / 187.3 MB, free: 11.89 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.192/1.192, 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.0009216/0.0009217, allocations: 100 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 282.2 kB / 0.594 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.117e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3392, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.342/3.681, allocations: 1.849 GB / 2.613 GB, free: 198.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/3.682, allocations: 88.45 kB / 2.613 GB, free: 198.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/5.409, allocations: 0.6055 GB / 3.219 GB, free: 112.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/5.409, allocations: 0 / 3.219 GB, free: 112.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.268e-05/5.409, allocations: 23.53 kB / 3.219 GB, free: 112.9 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.002329/5.411, allocations: 1.04 MB / 3.22 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/5.411, allocations: 15.41 kB / 3.22 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/5.411, allocations: 78.52 kB / 3.22 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/5.412, allocations: 221.5 kB / 3.22 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/5.414, allocations: 0.8969 MB / 3.221 GB, free: 110.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/5.414, allocations: 28.78 kB / 3.221 GB, free: 110.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/5.414, allocations: 40 kB / 3.221 GB, free: 110.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/5.415, allocations: 492.5 kB / 3.222 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/5.415, allocations: 7.594 kB / 3.222 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/5.415, allocations: 12 kB / 3.222 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/5.415, allocations: 19.3 kB / 3.222 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/5.416, allocations: 382.9 kB / 3.222 GB, free: 109.7 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.002197/5.418, allocations: 2.172 MB / 3.224 GB, free: 107.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/5.418, allocations: 261 kB / 3.224 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/5.418, allocations: 128.8 kB / 3.224 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/5.419, allocations: 0.8213 MB / 3.225 GB, free: 106 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/5.419, allocations: 193.1 kB / 3.225 GB, free: 105.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/5.419, allocations: 5.812 kB / 3.225 GB, free: 105.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0006371/5.42, allocations: 342.5 kB / 3.226 GB, free: 105.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/5.42, allocations: 110.9 kB / 3.226 GB, free: 105.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/5.421, allocations: 0.5502 MB / 3.226 GB, free: 104.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/5.421, allocations: 37.36 kB / 3.226 GB, free: 104.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/5.421, allocations: 327.7 kB / 3.227 GB, free: 104.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/5.421, allocations: 90.75 kB / 3.227 GB, free: 104.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/5.421, allocations: 8 kB / 3.227 GB, free: 104.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/5.421, allocations: 374.7 kB / 3.227 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/5.421, allocations: 108.8 kB / 3.227 GB, free: 103.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/5.421, allocations: 303.7 kB / 3.228 GB, free: 103.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/5.422, allocations: 155.7 kB / 3.228 GB, free: 103.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/5.422, allocations: 6.188 kB / 3.228 GB, free: 103.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005301/5.422, allocations: 446.6 kB / 3.228 GB, free: 102.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/5.422, allocations: 1.84 MB / 3.23 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/5.422, allocations: 4 kB / 3.23 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/5.422, allocations: 8 kB / 3.23 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/5.423, allocations: 83.89 kB / 3.23 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/5.423, allocations: 11.34 kB / 3.23 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/5.423, allocations: 59.5 kB / 3.23 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/5.423, allocations: 24.09 kB / 3.23 GB, free: 100.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/5.423, allocations: 9.188 kB / 3.23 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004598/5.424, allocations: 368.2 kB / 3.231 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/5.424, allocations: 4 kB / 3.231 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/5.424, allocations: 8 kB / 3.231 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/5.424, allocations: 86.83 kB / 3.231 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/5.424, allocations: 15.44 kB / 3.231 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/5.424, allocations: 51.58 kB / 3.231 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/5.424, allocations: 27.94 kB / 3.231 GB, free: 100.1 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 (47): * Single equations (assignments): 47 * 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.07e-05/5.424, allocations: 135 kB / 3.231 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/5.424, allocations: 63.25 kB / 3.231 GB, free: 99.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/5.425, allocations: 318.4 kB / 3.231 GB, free: 99.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/5.425, allocations: 0 / 3.231 GB, free: 99.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.425, allocations: 7.984 kB / 3.231 GB, free: 99.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/5.425, allocations: 0 / 3.231 GB, free: 99.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/5.426, allocations: 1.165 MB / 3.232 GB, free: 98.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/5.426, allocations: 4 kB / 3.232 GB, free: 98.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/5.426, allocations: 47.88 kB / 3.232 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/5.426, allocations: 6.188 kB / 3.232 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/5.426, allocations: 11.98 kB / 3.232 GB, free: 98.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/5.426, allocations: 4 kB / 3.232 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/5.426, allocations: 4 kB / 3.232 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/5.427, allocations: 0.7236 MB / 3.233 GB, free: 97.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/5.427, allocations: 176.2 kB / 3.233 GB, free: 97.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/5.427, allocations: 8 kB / 3.233 GB, free: 97.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/5.427, allocations: 23.95 kB / 3.233 GB, free: 97.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/5.428, allocations: 23.88 kB / 3.233 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/5.428, allocations: 15.98 kB / 3.233 GB, free: 97.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003578/5.428, allocations: 439.1 kB / 3.234 GB, free: 96.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.428, allocations: 0 / 3.234 GB, free: 96.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001049/5.429, allocations: 415.5 kB / 3.234 GB, free: 96.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.002847/5.432, allocations: 3.429 MB / 3.238 GB, free: 93.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006046/5.432, allocations: 0.4933 MB / 3.238 GB, free: 92.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/5.432, allocations: 1.875 kB / 3.238 GB, free: 92.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/5.433, allocations: 135.8 kB / 3.238 GB, free: 92.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/5.434, allocations: 271.5 kB / 3.238 GB, free: 92.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/5.437, allocations: 1.789 MB / 3.24 GB, free: 90.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/5.438, allocations: 0.911 MB / 3.241 GB, free: 89.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007102/5.438, allocations: 232.8 kB / 3.241 GB, free: 89.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/5.438, allocations: 207 kB / 3.241 GB, free: 88.93 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/5.438, allocations: 0 / 3.241 GB, free: 88.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/5.488, allocations: 41.34 MB / 3.282 GB, free: 47.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/5.488, allocations: 215.4 kB / 3.282 GB, free: 47.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/8.665, allocations: 0 / 3.282 GB, free: 47.57 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)