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.587/1.587, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001218/0.001218, allocations: 180.8 kB / 326.5 MB, free: 2.234 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.948/1.948, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001016/0.001016, allocations: 93.94 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.000422, allocations: 9.938 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 106.3 MB / 0.9001 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1668/0.4218, allocations: 138.6 MB / 1.036 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003512/0.4254, allocations: 1.599 MB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.4257, allocations: 11.88 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.4264, allocations: 175.2 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009949/0.4274, allocations: 362.9 kB / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.4289, allocations: 0.5117 MB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.4295, allocations: 408.2 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.4299, allocations: 202 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.4306, allocations: 338.9 kB / 1.039 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.4308, allocations: 139.5 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.4309, allocations: 16 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008416/0.4317, allocations: 419.3 kB / 1.04 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4318, allocations: 99.72 kB / 1.04 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.4319, allocations: 73.58 kB / 1.04 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.4325, allocations: 399.3 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.4325, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4325, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4325, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6823 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.001065/0.4336, allocations: 0.6003 MB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4336, allocations: 12.03 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.4337, allocations: 62.47 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.4342, allocations: 95.33 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4346, allocations: 284 kB / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4347, allocations: 20.56 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.4347, allocations: 24 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.4354, allocations: 344.2 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4354, allocations: 7.875 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.4354, allocations: 8 kB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4355, allocations: 4 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.4362, allocations: 329.4 kB / 1.042 GB, free: 14.75 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.001645/0.4378, allocations: 1.063 MB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/0.4388, allocations: 355.6 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/0.4393, allocations: 230.1 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.4394, allocations: 38.55 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.4394, allocations: 0 / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001244/0.4406, allocations: 451 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4407, allocations: 55.41 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4409, allocations: 262.6 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.441, allocations: 29.7 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4411, allocations: 160.2 kB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.4412, allocations: 63.09 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4412, allocations: 4 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4414, allocations: 346.8 kB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.4417, allocations: 115.8 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.4421, allocations: 179.9 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4424, allocations: 135.9 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4424, allocations: 0 / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007502/0.4432, allocations: 351.1 kB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4432, allocations: 4 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4432, allocations: 4 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4432, allocations: 4 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4435, allocations: 63.95 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4435, allocations: 7.938 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.4438, allocations: 55.78 kB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.4438, allocations: 8 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001728/0.444, allocations: 161.7 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.4441, allocations: 27.72 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.4449, allocations: 353 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4449, allocations: 4 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4449, allocations: 0 / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.4449, allocations: 0 / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.4465, allocations: 0.9689 MB / 1.047 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4465, allocations: 0 / 1.047 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.4468, allocations: 63.95 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4468, allocations: 4.219 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.4468, allocations: 12 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4468, allocations: 0 / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4468, allocations: 7.953 kB / 1.047 GB, free: 8.906 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.448, allocations: 0.6985 MB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4481, allocations: 120.8 kB / 1.048 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4482, allocations: 8 kB / 1.048 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4484, allocations: 43.77 kB / 1.048 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.4485, allocations: 27.95 kB / 1.048 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.4486, allocations: 12 kB / 1.048 GB, free: 7.902 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001707/0.4487, allocations: 186 kB / 1.048 GB, free: 7.723 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4487, allocations: 0 / 1.048 GB, free: 7.723 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004715/0.4492, allocations: 103.9 kB / 1.048 GB, free: 7.621 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.002132/0.4514, allocations: 1.795 MB / 1.05 GB, free: 5.758 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007374/0.4521, allocations: 284.5 kB / 1.05 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4521, allocations: 0 / 1.05 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.4525, allocations: 164.3 kB / 1.051 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.4532, allocations: 116.7 kB / 1.051 GB, free: 5.211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.4567, allocations: 2.729 MB / 1.053 GB, free: 2.387 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.4571, allocations: 0.7908 MB / 1.054 GB, free: 1.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002601/0.4573, allocations: 62.25 kB / 1.054 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.4575, allocations: 87.62 kB / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/0.4575, allocations: 0 / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4626/0.9201, allocations: 7.895 MB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9203, allocations: 225 kB / 1.062 GB, free: 154.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/3.016, allocations: 0 / 1.062 GB, free: 154.6 MB / 0.698 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)