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.001579/0.001579, allocations: 108 kB / 15.6 MB, free: 132 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.001858/0.001858, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.203/1.203, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.535/1.535, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001388/0.001388, allocations: 70.75 kB / 0.6716 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1925, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4992/0.6917, allocations: 161.5 MB / 0.9412 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004309/0.696, allocations: 3.477 MB / 0.9446 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.6966, allocations: 12.3 kB / 0.9446 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.6971, allocations: 135.9 kB / 0.9447 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.6985, allocations: 452 kB / 0.9451 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.7004, allocations: 0.5873 MB / 0.9457 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.7014, allocations: 0.6193 MB / 0.9463 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.7019, allocations: 223.1 kB / 0.9465 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.7035, allocations: 338.1 kB / 0.9469 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.7039, allocations: 197.5 kB / 0.947 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.704, allocations: 22.56 kB / 0.9471 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.7052, allocations: 0.5458 MB / 0.9476 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.7054, allocations: 98.7 kB / 0.9477 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.7057, allocations: 147.4 kB / 0.9478 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.7071, allocations: 0.5453 MB / 0.9484 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7071, allocations: 0.5 kB / 0.9484 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7071, allocations: 0 / 0.9484 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.7071, allocations: 0.5625 kB / 0.9484 GB, free: 1.344 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001553/0.7087, allocations: 0.6346 MB / 0.949 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7088, allocations: 9.875 kB / 0.949 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.7088, allocations: 56.94 kB / 0.9491 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.7095, allocations: 78.16 kB / 0.9491 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.7099, allocations: 287.7 kB / 0.9494 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.71, allocations: 15.31 kB / 0.9494 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.71, allocations: 16.59 kB / 0.9494 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008033/0.7108, allocations: 319 kB / 0.9497 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.7109, allocations: 1.703 kB / 0.9497 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.7109, allocations: 9.469 kB / 0.9497 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.7109, allocations: 9.219 kB / 0.9498 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.7117, allocations: 252 kB / 0.95 GB, free: 16.49 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.001732/0.7134, allocations: 1.242 MB / 0.9512 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.7139, allocations: 176.2 kB / 0.9514 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.7142, allocations: 125 kB / 0.9515 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/0.7147, allocations: 307.9 kB / 0.9518 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7148, allocations: 35.75 kB / 0.9518 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.7148, allocations: 0 / 0.9518 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002224/0.717, allocations: 0.5713 MB / 0.9524 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.7171, allocations: 53.78 kB / 0.9524 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.7173, allocations: 264.2 kB / 0.9527 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.7174, allocations: 30.92 kB / 0.9527 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.7175, allocations: 162.2 kB / 0.9529 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.7176, allocations: 56.28 kB / 0.9529 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.7176, allocations: 35.7 kB / 0.953 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7178, allocations: 331.6 kB / 0.9533 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.7181, allocations: 104 kB / 0.9534 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.7183, allocations: 132.2 kB / 0.9535 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.7189, allocations: 235.1 kB / 0.9537 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7189, allocations: 0.9062 kB / 0.9537 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001187/0.7201, allocations: 361 kB / 0.9541 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7202, allocations: 5.562 kB / 0.9541 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7202, allocations: 3.609 kB / 0.9541 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7208, allocations: 86.36 kB / 0.9542 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.721, allocations: 43.23 kB / 0.9542 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.7234, allocations: 1.722 MB / 0.9559 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.7237, allocations: 43.36 kB / 0.9559 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.7238, allocations: 8.891 kB / 0.9559 GB, free: 12.81 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.0001898/0.724, allocations: 146.2 kB / 0.9561 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.724, allocations: 25.09 kB / 0.9561 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.7252, allocations: 360.5 kB / 0.9564 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7252, allocations: 6.812 kB / 0.9564 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.7252, allocations: 0 / 0.9564 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7252, allocations: 2.391 kB / 0.9564 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7269, allocations: 0.7713 MB / 0.9572 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.7269, allocations: 1.125 kB / 0.9572 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.7271, allocations: 36.92 kB / 0.9572 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.7276, allocations: 77.88 kB / 0.9573 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.7276, allocations: 11.09 kB / 0.9573 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.7297, allocations: 1.745 MB / 0.959 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7297, allocations: 1.656 kB / 0.959 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7309, allocations: 450.9 kB / 0.9595 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.731, allocations: 122.7 kB / 0.9596 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.7311, allocations: 8.844 kB / 0.9596 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.7314, allocations: 29.52 kB / 0.9596 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.7315, allocations: 17.17 kB / 0.9596 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.7315, allocations: 5.656 kB / 0.9596 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001874/0.7317, allocations: 185.8 kB / 0.9598 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7317, allocations: 0 / 0.9598 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004993/0.7322, allocations: 83.02 kB / 0.9599 GB, free: 10.46 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.001694/0.7339, allocations: 1.047 MB / 0.9609 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.7349, allocations: 365.7 kB / 0.9613 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.735, allocations: 5.469 kB / 0.9613 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.7356, allocations: 257 kB / 0.9615 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.7363, allocations: 131.5 kB / 0.9616 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.7412, allocations: 2.804 MB / 0.9644 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.7416, allocations: 0.773 MB / 0.9651 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.7419, allocations: 57.53 kB / 0.9652 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.742, allocations: 75.12 kB / 0.9653 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.742, allocations: 0 / 0.9653 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.151/4.893, allocations: 8.579 MB / 0.9736 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/19.83, allocations: 4.828 kB / 0.9736 GB, free: 4.543 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)