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.9342/0.9342, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.0009747/0.0009747, allocations: 183.8 kB / 182.2 MB, free: 9.453 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.475/1.475, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.00108/0.001079, allocations: 92.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 270.9 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.644e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 82.76 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.862/5.32, allocations: 1.829 GB / 2.586 GB, free: 231 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/5.321, allocations: 87.95 kB / 2.586 GB, free: 230.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4242/5.745, allocations: 220.5 MB / 2.802 GB, free: 5.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/5.745, allocations: 0 / 2.802 GB, free: 5.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.385e-05/5.745, allocations: 7.984 kB / 2.802 GB, free: 5.84 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.001188/5.746, allocations: 0.6775 MB / 2.802 GB, free: 5.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/5.746, allocations: 8.031 kB / 2.802 GB, free: 5.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/5.747, allocations: 83.56 kB / 2.803 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/5.747, allocations: 313.9 kB / 2.803 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/5.747, allocations: 4 kB / 2.803 GB, free: 4.676 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/5.747, allocations: 16 kB / 2.803 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003094/5.748, allocations: 185.1 kB / 2.803 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/5.748, allocations: 251.1 kB / 2.803 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/5.748, allocations: 0 / 2.803 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/5.748, allocations: 0 / 2.803 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/5.748, allocations: 12 kB / 2.803 GB, free: 4.207 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.001306/5.749, allocations: 0.9965 MB / 2.804 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/5.75, allocations: 273.1 kB / 2.805 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/5.75, allocations: 88.8 kB / 2.805 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/5.751, allocations: 392.3 kB / 2.805 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/5.751, allocations: 42.48 kB / 2.805 GB, free: 2.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/5.751, allocations: 4 kB / 2.805 GB, free: 2.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001072/5.752, allocations: 310.2 kB / 2.805 GB, free: 1.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/5.752, allocations: 59.34 kB / 2.805 GB, free: 1.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/5.752, allocations: 184.5 kB / 2.806 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/5.752, allocations: 25.7 kB / 2.806 GB, free: 1.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/5.752, allocations: 172.2 kB / 2.806 GB, free: 1.496 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/5.752, allocations: 63.05 kB / 2.806 GB, free: 1.434 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/5.752, allocations: 0 / 2.806 GB, free: 1.434 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/5.752, allocations: 330.8 kB / 2.806 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/5.752, allocations: 63.98 kB / 2.806 GB, free: 1.039 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/5.752, allocations: 127.7 kB / 2.806 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/5.753, allocations: 180.6 kB / 2.806 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.753, allocations: 3.953 kB / 2.806 GB, free: 0.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008091/5.754, allocations: 311 kB / 2.807 GB, free: 408 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/5.754, allocations: 9.359 kB / 2.807 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/5.754, allocations: 4 kB / 2.807 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/5.754, allocations: 160 / 2.807 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/5.754, allocations: 67.95 kB / 2.807 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/5.754, allocations: 3.938 kB / 2.807 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/5.755, allocations: 55.8 kB / 2.807 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/5.755, allocations: 8 kB / 2.807 GB, free: 260 kB / 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 7.554e-05/5.755, allocations: 101 kB / 2.807 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5071/6.262, allocations: 286.7 kB / 2.807 GB, free: 196.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/6.262, allocations: 22.58 kB / 2.807 GB, free: 196.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/6.264, allocations: 320.1 kB / 2.808 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/6.264, allocations: 3.438 kB / 2.808 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/6.264, allocations: 0.75 kB / 2.808 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/6.264, allocations: 1.125 kB / 2.808 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/6.266, allocations: 0.8828 MB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/6.266, allocations: 5.016 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/6.266, allocations: 58.3 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/6.266, allocations: 6.094 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/6.266, allocations: 11.44 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/6.266, allocations: 2.469 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/6.266, allocations: 7.141 kB / 2.809 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/6.268, allocations: 0.5919 MB / 2.809 GB, free: 196 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/6.268, allocations: 125.9 kB / 2.809 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/6.268, allocations: 3.375 kB / 2.809 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/6.268, allocations: 33.61 kB / 2.809 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/6.268, allocations: 21.94 kB / 2.809 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/6.268, allocations: 6.469 kB / 2.809 GB, free: 195.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001627/6.269, allocations: 148.9 kB / 2.809 GB, free: 195.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.269, allocations: 0.75 kB / 2.809 GB, free: 195.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008889/6.269, allocations: 174.3 kB / 2.81 GB, free: 195.8 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.003761/6.273, allocations: 2.611 MB / 2.812 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004313/6.274, allocations: 169 kB / 2.812 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/6.274, allocations: 0 / 2.812 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/6.274, allocations: 90.44 kB / 2.812 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/6.275, allocations: 86.08 kB / 2.813 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/6.276, allocations: 0.5203 MB / 2.813 GB, free: 194.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/6.276, allocations: 0.7909 MB / 2.814 GB, free: 193.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003072/6.277, allocations: 55.64 kB / 2.814 GB, free: 193.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/6.277, allocations: 89.34 kB / 2.814 GB, free: 193.5 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/6.277, allocations: 0 / 2.814 GB, free: 193.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/6.321, allocations: 14.24 MB / 2.828 GB, free: 193.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/6.321, allocations: 179.5 kB / 2.828 GB, free: 193.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/8.787, allocations: 0 / 2.828 GB, free: 193.2 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)