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.469/1.469, allocations: 252 MB / 267 MB, free: 10.96 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.001047/0.001047, allocations: 174.4 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5776 GB, free: 20.3 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.0008251/0.000825, allocations: 91.7 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004358, allocations: 12.84 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1755/0.436, allocations: 150.2 MB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.4391, allocations: 1.517 MB / 1.048 GB, free: 7.613 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.4394, allocations: 11.94 kB / 1.049 GB, free: 7.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.4399, allocations: 103.2 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.441, allocations: 350.3 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.4429, allocations: 0.567 MB / 1.049 GB, free: 6.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009001/0.4438, allocations: 0.8229 MB / 1.05 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.4442, allocations: 197.7 kB / 1.05 GB, free: 5.574 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.4447, allocations: 274.9 kB / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.445, allocations: 215.2 kB / 1.051 GB, free: 5.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.445, allocations: 12 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4462, allocations: 0.5495 MB / 1.051 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4463, allocations: 91.75 kB / 1.052 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.4464, allocations: 81.52 kB / 1.052 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.4471, allocations: 467.2 kB / 1.052 GB, free: 3.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4471, allocations: 4 kB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4471, allocations: 0 / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4471, allocations: 0 / 1.052 GB, free: 3.895 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.001148/0.4482, allocations: 0.6352 MB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4483, allocations: 8.031 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.029e-05/0.4484, allocations: 58.55 kB / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005129/0.4489, allocations: 83.52 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.4494, allocations: 291.9 kB / 1.053 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4494, allocations: 16.56 kB / 1.053 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.4495, allocations: 24 kB / 1.053 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.4502, allocations: 352.1 kB / 1.054 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4502, allocations: 4 kB / 1.054 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.4503, allocations: 12 kB / 1.054 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4503, allocations: 8 kB / 1.054 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007866/0.4511, allocations: 309.5 kB / 1.054 GB, free: 2 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.001733/0.4528, allocations: 1.086 MB / 1.055 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.4538, allocations: 339.7 kB / 1.055 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.4541, allocations: 144.8 kB / 1.055 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5261/0.9803, allocations: 403.5 kB / 1.056 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.9804, allocations: 41.64 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.596e-06/0.9804, allocations: 0 / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001619/0.982, allocations: 451.2 kB / 1.056 GB, free: 157.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9821, allocations: 56.09 kB / 1.056 GB, free: 157 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.9825, allocations: 261.6 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.9825, allocations: 27.89 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.9826, allocations: 168.8 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.9827, allocations: 64.42 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.9828, allocations: 2.875 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.9829, allocations: 343.8 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.9832, allocations: 121.8 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.9836, allocations: 178.8 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.984, allocations: 130.5 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.984, allocations: 0 / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00078/0.9848, allocations: 345.8 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.9848, allocations: 5.812 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9848, allocations: 2.938 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.9848, allocations: 3.953 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.9851, allocations: 73.72 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9851, allocations: 6.031 kB / 1.058 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.9855, allocations: 55.33 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.9855, allocations: 5.812 kB / 1.058 GB, free: 156.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 () * 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.0001609/0.9857, allocations: 154.5 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.9858, allocations: 26 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.9866, allocations: 349.3 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.9866, allocations: 3.031 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9866, allocations: 0.8125 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9866, allocations: 3.844 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.9881, allocations: 0.9577 MB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9881, allocations: 6.422 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.9884, allocations: 63.59 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.9884, allocations: 2.844 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.9885, allocations: 3.281 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.9885, allocations: 6.656 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9885, allocations: 2.625 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.9896, allocations: 0.6068 MB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.9897, allocations: 121.9 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.9898, allocations: 11.42 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.9901, allocations: 36.62 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.9901, allocations: 21.28 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.9902, allocations: 8.875 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001648/0.9903, allocations: 188 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9904, allocations: 1.312 kB / 1.06 GB, free: 155.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004817/0.9908, allocations: 109.8 kB / 1.061 GB, free: 155.3 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.001768/0.9926, allocations: 1.237 MB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007956/0.9934, allocations: 285.5 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9934, allocations: 0 / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.9938, allocations: 156.3 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.9947, allocations: 127.5 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.9982, allocations: 1.834 MB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9985, allocations: 0.7811 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.9989, allocations: 66.31 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.999, allocations: 84.95 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.999, allocations: 4 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/1.026, allocations: 8.148 MB / 1.073 GB, free: 151.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.026, allocations: 236.9 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/3.208, allocations: 9 kB / 1.073 GB, free: 151.1 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)