Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 186.2 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008071/0.0008074, allocations: 91.36 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003436, allocations: 12.59 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1511/0.3226, allocations: 162.8 MB / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.417/0.7396, allocations: 1.609 MB / 1.057 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.7401, allocations: 9.625 kB / 1.057 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.7406, allocations: 117.2 kB / 1.057 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.742, allocations: 436.3 kB / 1.057 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.7443, allocations: 0.6906 MB / 1.058 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.7455, allocations: 0.9903 MB / 1.059 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.746, allocations: 216.1 kB / 1.059 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/0.7466, allocations: 274.7 kB / 1.059 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.7469, allocations: 222.5 kB / 1.06 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.747, allocations: 15.23 kB / 1.06 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.7491, allocations: 0.9805 MB / 1.061 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.7493, allocations: 103 kB / 1.061 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.7494, allocations: 146 kB / 1.061 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.7507, allocations: 0.7664 MB / 1.062 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7507, allocations: 0 / 1.062 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7507, allocations: 0 / 1.062 GB, free: 1.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7507, allocations: 3.656 kB / 1.062 GB, free: 1.75 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.001206/0.7519, allocations: 0.629 MB / 1.062 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.752, allocations: 7.656 kB / 1.062 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.752, allocations: 60.06 kB / 1.062 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.7526, allocations: 84.05 kB / 1.062 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.753, allocations: 297.3 kB / 1.063 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.753, allocations: 18.27 kB / 1.063 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.753, allocations: 21.53 kB / 1.063 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.7537, allocations: 352.8 kB / 1.063 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7537, allocations: 3.938 kB / 1.063 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.7538, allocations: 9.938 kB / 1.063 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.7538, allocations: 5.594 kB / 1.063 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.7545, allocations: 318.6 kB / 1.063 GB, free: 16.91 MB / 0.7136 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.001725/0.7563, allocations: 1.078 MB / 1.064 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.7573, allocations: 343.3 kB / 1.065 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.7577, allocations: 153.8 kB / 1.065 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008277/0.7586, allocations: 408.3 kB / 1.065 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.7586, allocations: 35.19 kB / 1.065 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.7586, allocations: 1.031 kB / 1.065 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001494/0.7601, allocations: 459.3 kB / 1.066 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.7602, allocations: 54.47 kB / 1.066 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.7606, allocations: 260.9 kB / 1.066 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.7606, allocations: 31.33 kB / 1.066 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.7608, allocations: 164.8 kB / 1.066 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.7608, allocations: 66.66 kB / 1.066 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.7609, allocations: 22.19 kB / 1.066 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.761, allocations: 340.3 kB / 1.067 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.7613, allocations: 116.8 kB / 1.067 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.7617, allocations: 183.6 kB / 1.067 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.7624, allocations: 294.4 kB / 1.067 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7624, allocations: 3.844 kB / 1.067 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008768/0.7633, allocations: 352.9 kB / 1.068 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.7634, allocations: 13.83 kB / 1.068 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.7634, allocations: 1.312 kB / 1.068 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7634, allocations: 3.297 kB / 1.068 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.7637, allocations: 65.75 kB / 1.068 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7637, allocations: 6.641 kB / 1.068 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.7641, allocations: 50.53 kB / 1.068 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.7641, allocations: 11.53 kB / 1.068 GB, free: 14.91 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.7643, allocations: 151.4 kB / 1.068 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.7643, allocations: 28.81 kB / 1.068 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.7652, allocations: 350 kB / 1.068 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.7652, allocations: 2.719 kB / 1.068 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7652, allocations: 1 kB / 1.068 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7653, allocations: 0.7969 kB / 1.068 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.7669, allocations: 0.9656 MB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.767, allocations: 5.5 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.7672, allocations: 55.72 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.7673, allocations: 3.641 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.7673, allocations: 7.719 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/0.7673, allocations: 3.109 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7673, allocations: 9.562 kB / 1.069 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7685, allocations: 0.6115 MB / 1.07 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.7687, allocations: 128.7 kB / 1.07 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.7688, allocations: 6.75 kB / 1.07 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.769, allocations: 34.27 kB / 1.07 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.7691, allocations: 23.97 kB / 1.07 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.7691, allocations: 9.609 kB / 1.07 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001902/0.7693, allocations: 188.4 kB / 1.07 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7693, allocations: 0 / 1.07 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005053/0.7698, allocations: 106.8 kB / 1.07 GB, free: 13.78 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.7717, allocations: 1.246 MB / 1.071 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008076/0.7725, allocations: 281.4 kB / 1.072 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7725, allocations: 4.906 kB / 1.072 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.7729, allocations: 149.8 kB / 1.072 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.7737, allocations: 133.6 kB / 1.072 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.7783, allocations: 3.119 MB / 1.075 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.7787, allocations: 0.779 MB / 1.076 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003134/0.779, allocations: 67.3 kB / 1.076 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.7792, allocations: 86.02 kB / 1.076 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/0.7792, allocations: 1.188 kB / 1.076 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6429/1.422, allocations: 8.157 MB / 1.084 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/1.422, allocations: 263 kB / 1.084 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.579, allocations: 0 / 1.084 GB, free: 9.77 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)