Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",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.6888/0.6888, 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.0009637/0.0009637, allocations: 182.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.202/1.202, 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.0008745/0.0008744, allocations: 98.06 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 272.6 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.924e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.414/3.746, allocations: 1.83 GB / 2.594 GB, free: 219.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/3.746, allocations: 80.58 kB / 2.594 GB, free: 219.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7225/4.469, allocations: 223.5 MB / 2.812 GB, free: 195.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/4.469, allocations: 0 / 2.812 GB, free: 195.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.349e-05/4.469, allocations: 17.47 kB / 2.812 GB, free: 195.8 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001259/4.47, allocations: 0.6766 MB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/4.47, allocations: 6.156 kB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.418e-05/4.47, allocations: 59.3 kB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/4.471, allocations: 84.08 kB / 2.813 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/4.471, allocations: 302.3 kB / 2.813 GB, free: 195.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/4.471, allocations: 20.88 kB / 2.813 GB, free: 195.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/4.471, allocations: 21.66 kB / 2.813 GB, free: 195.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/4.472, allocations: 281.7 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/4.472, allocations: 6.281 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/4.472, allocations: 6.375 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/4.472, allocations: 12.41 kB / 2.814 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/4.472, allocations: 200.8 kB / 2.814 GB, free: 195.1 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.001338/4.474, allocations: 1.057 MB / 2.815 GB, free: 194.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/4.474, allocations: 290.4 kB / 2.815 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/4.474, allocations: 95.92 kB / 2.815 GB, free: 194.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/4.475, allocations: 391.1 kB / 2.816 GB, free: 194.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/4.475, allocations: 39.88 kB / 2.816 GB, free: 194.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/4.475, allocations: 0 / 2.816 GB, free: 194.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0004786/4.475, allocations: 216.7 kB / 2.816 GB, free: 194 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/4.475, allocations: 51.41 kB / 2.816 GB, free: 194 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/4.475, allocations: 235.1 kB / 2.816 GB, free: 193.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/4.475, allocations: 32.42 kB / 2.816 GB, free: 193.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/4.476, allocations: 176 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/4.476, allocations: 69.69 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/4.476, allocations: 6.625 kB / 2.816 GB, free: 193.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/4.476, allocations: 339.1 kB / 2.817 GB, free: 193.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/4.476, allocations: 61.66 kB / 2.817 GB, free: 193.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/4.476, allocations: 133.4 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/4.476, allocations: 87.75 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/4.476, allocations: 0 / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003082/4.476, allocations: 239.5 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/4.476, allocations: 3.812 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/4.476, allocations: 3.906 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/4.476, allocations: 0 / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/4.477, allocations: 68.28 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/4.477, allocations: 5.844 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/4.477, allocations: 58.33 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/4.477, allocations: 11.25 kB / 2.817 GB, free: 193.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.742e-05/4.477, allocations: 117.3 kB / 2.818 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/4.477, allocations: 30.78 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/4.478, allocations: 237 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/4.478, allocations: 7.859 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.478, allocations: 2.953 kB / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/4.478, allocations: 0 / 2.818 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/4.478, allocations: 0.8465 MB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/4.479, allocations: 0 / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/4.479, allocations: 64.23 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/4.479, allocations: 3.969 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/4.479, allocations: 3.812 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/4.479, allocations: 3.781 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/4.479, allocations: 5.609 kB / 2.819 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/4.479, allocations: 0.5115 MB / 2.819 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/4.479, allocations: 121.2 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/4.479, allocations: 10.72 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/4.48, allocations: 41.11 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/4.48, allocations: 19 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/4.48, allocations: 17.89 kB / 2.819 GB, free: 192.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001268/4.48, allocations: 191.4 kB / 2.82 GB, free: 192.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/4.48, allocations: 0 / 2.82 GB, free: 192.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006776/4.481, allocations: 196.5 kB / 2.82 GB, free: 192.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001968/4.483, allocations: 2.395 MB / 2.822 GB, free: 190.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003008/4.483, allocations: 170.1 kB / 2.822 GB, free: 190.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/4.483, allocations: 0 / 2.822 GB, free: 190.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/4.483, allocations: 108.6 kB / 2.822 GB, free: 190.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/4.484, allocations: 124.1 kB / 2.822 GB, free: 190.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/4.485, allocations: 0.5482 MB / 2.823 GB, free: 190.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/4.485, allocations: 0.7855 MB / 2.824 GB, free: 189.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000248/4.485, allocations: 60.22 kB / 2.824 GB, free: 189.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/4.485, allocations: 87.12 kB / 2.824 GB, free: 189.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/4.485, allocations: 0 / 2.824 GB, free: 189.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04432/4.53, allocations: 26.27 MB / 2.85 GB, free: 189.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/4.53, allocations: 204.1 kB / 2.85 GB, free: 189 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/6.997, allocations: 0 / 2.85 GB, free: 189 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)