Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002014, allocations: 187.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.47 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.245, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6001/0.8451, allocations: 165.3 MB / 0.945 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.848, allocations: 1.548 MB / 0.9465 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.8485, allocations: 11.28 kB / 0.9465 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.849, allocations: 147.4 kB / 0.9467 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.8503, allocations: 470.6 kB / 0.9471 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.8523, allocations: 0.7507 MB / 0.9479 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.8532, allocations: 0.7062 MB / 0.9485 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.8537, allocations: 263 kB / 0.9488 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.8543, allocations: 311.9 kB / 0.9491 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.8547, allocations: 226.9 kB / 0.9493 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.8547, allocations: 24.78 kB / 0.9493 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.8567, allocations: 0.8647 MB / 0.9502 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.8569, allocations: 113.6 kB / 0.9503 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.8571, allocations: 158.4 kB / 0.9504 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.8583, allocations: 0.7495 MB / 0.9512 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8583, allocations: 1.188 kB / 0.9512 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8583, allocations: 0 / 0.9512 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8583, allocations: 0 / 0.9512 GB, free: 1.074 MB / 0.7169 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.00115/0.8595, allocations: 0.6754 MB / 0.9518 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8595, allocations: 8.562 kB / 0.9518 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.232e-05/0.8596, allocations: 57.77 kB / 0.9519 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.8601, allocations: 87.69 kB / 0.952 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.8605, allocations: 321.1 kB / 0.9523 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.8605, allocations: 18.64 kB / 0.9523 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.8606, allocations: 25.62 kB / 0.9523 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.8612, allocations: 333 kB / 0.9526 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.8612, allocations: 0 / 0.9526 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.8613, allocations: 14.22 kB / 0.9527 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8613, allocations: 9 kB / 0.9527 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.862, allocations: 286.7 kB / 0.9529 GB, free: 16.2 MB / 0.7325 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.001529/0.8635, allocations: 1.063 MB / 0.954 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.8644, allocations: 324.9 kB / 0.9543 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.8647, allocations: 138.8 kB / 0.9544 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.8654, allocations: 391.2 kB / 0.9548 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.8654, allocations: 41.09 kB / 0.9548 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.405e-06/0.8654, allocations: 1.625 kB / 0.9548 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001167/0.8666, allocations: 409.8 kB / 0.9552 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.8666, allocations: 53.91 kB / 0.9553 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.8669, allocations: 266.3 kB / 0.9555 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.8669, allocations: 30.48 kB / 0.9556 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.867, allocations: 167.3 kB / 0.9557 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.8671, allocations: 72.78 kB / 0.9558 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.8672, allocations: 45.09 kB / 0.9558 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8673, allocations: 336.8 kB / 0.9562 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.8676, allocations: 106.5 kB / 0.9563 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.8679, allocations: 166.7 kB / 0.9564 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.8685, allocations: 267.2 kB / 0.9567 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8686, allocations: 5.031 kB / 0.9567 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007137/0.8693, allocations: 315.1 kB / 0.957 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8693, allocations: 6.438 kB / 0.957 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8693, allocations: 1.094 kB / 0.957 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.8693, allocations: 6.5 kB / 0.957 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.8696, allocations: 60.31 kB / 0.957 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8696, allocations: 4.469 kB / 0.957 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.8699, allocations: 41.95 kB / 0.9571 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.8699, allocations: 14.91 kB / 0.9571 GB, free: 14.17 MB / 0.7325 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.0001512/0.8701, allocations: 152 kB / 0.9572 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.8701, allocations: 26.67 kB / 0.9573 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/0.8709, allocations: 313.1 kB / 0.9576 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8709, allocations: 14.12 kB / 0.9576 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8709, allocations: 1.562 kB / 0.9576 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8709, allocations: 0 / 0.9576 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.8724, allocations: 0.9276 MB / 0.9585 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8724, allocations: 2.219 kB / 0.9585 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.8726, allocations: 50.69 kB / 0.9585 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8727, allocations: 7.766 kB / 0.9585 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.8727, allocations: 5.156 kB / 0.9586 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.8727, allocations: 4.766 kB / 0.9586 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8727, allocations: 6.188 kB / 0.9586 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.8738, allocations: 0.5614 MB / 0.9591 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.8739, allocations: 121.8 kB / 0.9592 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.8739, allocations: 7.062 kB / 0.9592 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.8742, allocations: 23.73 kB / 0.9593 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.8742, allocations: 24.69 kB / 0.9593 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.8743, allocations: 9.203 kB / 0.9593 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001687/0.8744, allocations: 191.6 kB / 0.9595 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8745, allocations: 6.688 kB / 0.9595 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004852/0.8749, allocations: 108.2 kB / 0.9596 GB, free: 13.02 MB / 0.7325 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.001716/0.8767, allocations: 1.202 MB / 0.9608 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007154/0.8774, allocations: 258.4 kB / 0.961 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8774, allocations: 0 / 0.961 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.8778, allocations: 140 kB / 0.9611 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.8785, allocations: 126.6 kB / 0.9613 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.8827, allocations: 2.961 MB / 0.9641 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.8831, allocations: 0.7849 MB / 0.9649 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002499/0.8833, allocations: 64.02 kB / 0.965 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8835, allocations: 88.55 kB / 0.9651 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of SimCode: time 1.283e-06/0.8835, allocations: 0 / 0.9651 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.9132, allocations: 8.88 MB / 0.9737 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.963, allocations: 11.98 kB / 0.9737 GB, free: 6.949 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)