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.8656/0.8656, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.00116/0.00116, allocations: 181 kB / 191.5 MB, free: 5.746 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.758/1.758, allocations: 223.2 MB / 447.7 MB, free: 6.484 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.0009777/0.0009776, allocations: 100.2 kB / 0.5188 GB, free: 2.836 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 274.7 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005329, allocations: 12 kB / 0.6929 GB, free: 2.207 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.485, allocations: 82.78 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/6.054, allocations: 1.83 GB / 2.603 GB, free: 154.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/6.054, allocations: 95.08 kB / 2.603 GB, free: 154.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.051/7.106, allocations: 223.7 MB / 2.822 GB, free: 205 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.498e-06/7.106, allocations: 0 / 2.822 GB, free: 205 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.915e-05/7.106, allocations: 9.641 kB / 2.822 GB, free: 205 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.001597/7.107, allocations: 0.7164 MB / 2.823 GB, free: 204.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/7.107, allocations: 11.3 kB / 2.823 GB, free: 204.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.856e-05/7.107, allocations: 60.25 kB / 2.823 GB, free: 204.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/7.108, allocations: 77.59 kB / 2.823 GB, free: 204.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/7.108, allocations: 316 kB / 2.823 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/7.109, allocations: 17.66 kB / 2.823 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/7.109, allocations: 26.81 kB / 2.823 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/7.109, allocations: 341 kB / 2.823 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/7.109, allocations: 0 / 2.823 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/7.109, allocations: 5.203 kB / 2.823 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/7.109, allocations: 9.594 kB / 2.823 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/7.11, allocations: 308.1 kB / 2.824 GB, free: 204.1 MB / 0.698 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.001551/7.111, allocations: 1.069 MB / 2.825 GB, free: 203.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/7.112, allocations: 330.8 kB / 2.825 GB, free: 203.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/7.113, allocations: 391.3 kB / 2.826 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/7.113, allocations: 37.86 kB / 2.826 GB, free: 202.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/7.113, allocations: 0 / 2.826 GB, free: 202.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001201/7.114, allocations: 435.8 kB / 2.826 GB, free: 202.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/7.114, allocations: 56.62 kB / 2.826 GB, free: 202.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/7.114, allocations: 240.9 kB / 2.826 GB, free: 202.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/7.115, allocations: 28.86 kB / 2.826 GB, free: 202.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/7.115, allocations: 169.1 kB / 2.826 GB, free: 202.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/7.115, allocations: 67.97 kB / 2.826 GB, free: 202.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/7.115, allocations: 4 kB / 2.826 GB, free: 202.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001042/7.115, allocations: 340.3 kB / 2.827 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/7.115, allocations: 117.6 kB / 2.827 GB, free: 201.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/7.115, allocations: 187.3 kB / 2.827 GB, free: 201.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/7.116, allocations: 131.1 kB / 2.827 GB, free: 201.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/7.116, allocations: 0 / 2.827 GB, free: 201.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007138/7.116, allocations: 345.8 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/7.116, allocations: 5.188 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/7.117, allocations: 2.094 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/7.117, allocations: 6.594 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/7.117, allocations: 68.73 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/7.117, allocations: 0 / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/7.117, allocations: 60.16 kB / 2.828 GB, free: 201.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/7.117, allocations: 13.67 kB / 2.828 GB, free: 201.7 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 () * Number of clocked 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 0.0001693/7.117, allocations: 151.9 kB / 2.828 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/7.117, allocations: 27.09 kB / 2.828 GB, free: 201.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/7.118, allocations: 347 kB / 2.828 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/7.118, allocations: 6.719 kB / 2.828 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.118, allocations: 0 / 2.828 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/7.118, allocations: 3.938 kB / 2.828 GB, free: 201.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/7.12, allocations: 0.9429 MB / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/7.12, allocations: 0 / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/7.12, allocations: 65.36 kB / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/7.12, allocations: 3.938 kB / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/7.12, allocations: 7.75 kB / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/7.12, allocations: 0 / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.12, allocations: 4 kB / 2.829 GB, free: 200.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/7.121, allocations: 0.6747 MB / 2.83 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/7.121, allocations: 124.9 kB / 2.83 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/7.121, allocations: 3.656 kB / 2.83 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/7.122, allocations: 35.8 kB / 2.83 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/7.122, allocations: 25.66 kB / 2.83 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/7.122, allocations: 7.656 kB / 2.83 GB, free: 200.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000181/7.122, allocations: 195 kB / 2.83 GB, free: 200.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.122, allocations: 0 / 2.83 GB, free: 200.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009741/7.123, allocations: 199.7 kB / 2.83 GB, free: 200.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 () * Number of clocked 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.003157/7.126, allocations: 2.54 MB / 2.833 GB, free: 198.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007735/7.127, allocations: 284.7 kB / 2.833 GB, free: 198.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/7.127, allocations: 0 / 2.833 GB, free: 198.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/7.127, allocations: 150.2 kB / 2.833 GB, free: 198.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/7.128, allocations: 114.5 kB / 2.833 GB, free: 198.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/7.131, allocations: 2.604 MB / 2.836 GB, free: 196.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/7.131, allocations: 0.786 MB / 2.837 GB, free: 196 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002959/7.132, allocations: 66.55 kB / 2.837 GB, free: 196 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/7.132, allocations: 85.83 kB / 2.837 GB, free: 195.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/7.132, allocations: 0 / 2.837 GB, free: 195.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/7.18, allocations: 23.46 MB / 2.86 GB, free: 175.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/7.181, allocations: 224.7 kB / 2.86 GB, free: 175.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/10.03, allocations: 4.062 kB / 2.86 GB, free: 175.6 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)