Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.0009692/0.0009692, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007837/0.007837, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.457/1.457, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.694/1.694, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005248/0.0005249, allocations: 14.22 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6311/0.8437, allocations: 157.2 MB / 0.9415 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003863/0.8476, allocations: 3.459 MB / 0.9449 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.8479, allocations: 11.88 kB / 0.9449 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.8482, allocations: 100.5 kB / 0.945 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009999/0.8492, allocations: 425.5 kB / 0.9454 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.8506, allocations: 0.5352 MB / 0.9459 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008856/0.8515, allocations: 0.804 MB / 0.9467 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.8518, allocations: 194.3 kB / 0.9469 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.8532, allocations: 312.9 kB / 0.9472 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.8535, allocations: 190.1 kB / 0.9473 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.8536, allocations: 11.56 kB / 0.9474 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.8546, allocations: 0.6271 MB / 0.948 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.8547, allocations: 86 kB / 0.948 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.8549, allocations: 154.9 kB / 0.9482 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.8556, allocations: 0.5599 MB / 0.9487 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8556, allocations: 0 / 0.9487 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8556, allocations: 4 kB / 0.9487 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.8557, allocations: 0.9062 kB / 0.9487 GB, free: 16.76 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001/0.8567, allocations: 0.5933 MB / 0.9493 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.8567, allocations: 10.16 kB / 0.9493 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.8568, allocations: 55.61 kB / 0.9494 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.8573, allocations: 77.7 kB / 0.9495 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.8576, allocations: 294.4 kB / 0.9497 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8577, allocations: 19.84 kB / 0.9498 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.8577, allocations: 17 kB / 0.9498 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.8584, allocations: 328.3 kB / 0.9501 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8584, allocations: 4.5 kB / 0.9501 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.8585, allocations: 9.875 kB / 0.9501 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.8585, allocations: 10.8 kB / 0.9501 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.8593, allocations: 279.3 kB / 0.9504 GB, free: 15.9 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.001647/0.861, allocations: 1.262 MB / 0.9516 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.8615, allocations: 190.7 kB / 0.9518 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.8619, allocations: 141.6 kB / 0.9519 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.8625, allocations: 318.1 kB / 0.9522 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.8625, allocations: 31.53 kB / 0.9523 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.8626, allocations: 1.469 kB / 0.9523 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002326/0.8649, allocations: 0.6273 MB / 0.9529 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8649, allocations: 53.59 kB / 0.9529 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.8652, allocations: 249.9 kB / 0.9532 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.8652, allocations: 30.89 kB / 0.9532 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8653, allocations: 167.4 kB / 0.9534 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.8654, allocations: 50.11 kB / 0.9534 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.8654, allocations: 24.02 kB / 0.9534 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8655, allocations: 330.6 kB / 0.9537 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.8659, allocations: 118.4 kB / 0.9539 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.8662, allocations: 151.7 kB / 0.954 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.8668, allocations: 275.3 kB / 0.9543 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8668, allocations: 0 / 0.9543 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001197/0.868, allocations: 385 kB / 0.9546 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8681, allocations: 5.719 kB / 0.9546 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8681, allocations: 1.125 kB / 0.9546 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.8687, allocations: 89.78 kB / 0.9547 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.869, allocations: 55.53 kB / 0.9548 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.8712, allocations: 1.614 MB / 0.9564 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.8715, allocations: 41.19 kB / 0.9564 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.8715, allocations: 8.562 kB / 0.9564 GB, free: 12.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.8717, allocations: 156.7 kB / 0.9566 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.8718, allocations: 22.53 kB / 0.9566 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.873, allocations: 389.4 kB / 0.9569 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.873, allocations: 2.25 kB / 0.9569 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.8731, allocations: 0 / 0.9569 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8731, allocations: 2.531 kB / 0.9569 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.8747, allocations: 0.8155 MB / 0.9577 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8747, allocations: 1 kB / 0.9577 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.875, allocations: 44.61 kB / 0.9578 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.8755, allocations: 90.27 kB / 0.9579 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.8755, allocations: 5.812 kB / 0.9579 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.8774, allocations: 1.633 MB / 0.9595 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8774, allocations: 5.031 kB / 0.9595 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.8786, allocations: 490.3 kB / 0.9599 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.8787, allocations: 121.2 kB / 0.9601 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.8788, allocations: 5.781 kB / 0.9601 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.879, allocations: 38.91 kB / 0.9601 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.8791, allocations: 15.31 kB / 0.9601 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.8792, allocations: 7.609 kB / 0.9601 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001766/0.8793, allocations: 184 kB / 0.9603 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8793, allocations: 0 / 0.9603 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004463/0.8798, allocations: 85.59 kB / 0.9604 GB, free: 10.01 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001672/0.8815, allocations: 1.085 MB / 0.9614 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009913/0.8825, allocations: 399.2 kB / 0.9618 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8825, allocations: 0 / 0.9618 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.8831, allocations: 271.1 kB / 0.9621 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.8839, allocations: 113.7 kB / 0.9622 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.8886, allocations: 2.978 MB / 0.9651 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.889, allocations: 0.771 MB / 0.9659 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.8892, allocations: 55.3 kB / 0.9659 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.8893, allocations: 82.2 kB / 0.966 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8893, allocations: 0 / 0.966 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.9096, allocations: 7.934 MB / 0.9737 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.9098, allocations: 270.6 kB / 0.974 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.785, allocations: 0 / 0.974 GB, free: 3.195 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)