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.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.356/1.356, allocations: 205.1 MB / 222 MB, free: 4.762 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.67/1.67, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001438/0.001438, allocations: 65.22 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2545, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6294/0.884, allocations: 159.2 MB / 0.9383 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.8881, allocations: 3.501 MB / 0.9417 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.8885, allocations: 15.22 kB / 0.9417 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.8889, allocations: 107.3 kB / 0.9418 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.89, allocations: 421.5 kB / 0.9422 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.8915, allocations: 0.5326 MB / 0.9428 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000722/0.8922, allocations: 0.8096 MB / 0.9436 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.8925, allocations: 192.1 kB / 0.9437 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.8939, allocations: 302.5 kB / 0.944 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.8942, allocations: 194.1 kB / 0.9442 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.8942, allocations: 18.81 kB / 0.9442 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.8953, allocations: 0.6273 MB / 0.9448 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.8954, allocations: 94.16 kB / 0.9449 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.8955, allocations: 133.3 kB / 0.9451 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.8963, allocations: 0.5697 MB / 0.9456 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8963, allocations: 0 / 0.9456 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8963, allocations: 0 / 0.9456 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8963, allocations: 2.594 kB / 0.9456 GB, free: 5.648 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.001254/0.8976, allocations: 0.6332 MB / 0.9462 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8977, allocations: 10.73 kB / 0.9462 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.8977, allocations: 58.84 kB / 0.9463 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/0.8983, allocations: 72.38 kB / 0.9464 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.8986, allocations: 296.8 kB / 0.9467 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.8987, allocations: 14.84 kB / 0.9467 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.8987, allocations: 25.62 kB / 0.9467 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.8993, allocations: 313.7 kB / 0.947 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8993, allocations: 5.875 kB / 0.947 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.8994, allocations: 5.5 kB / 0.947 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8994, allocations: 8.5 kB / 0.947 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006585/0.9, allocations: 248.7 kB / 0.9472 GB, free: 20.8 MB / 0.7481 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.001535/0.9016, allocations: 1.243 MB / 0.9485 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.902, allocations: 174.9 kB / 0.9486 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.9023, allocations: 130.8 kB / 0.9487 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005766/0.9029, allocations: 300.8 kB / 0.949 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.903, allocations: 34.44 kB / 0.9491 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.903, allocations: 0 / 0.9491 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002258/0.9052, allocations: 0.5751 MB / 0.9496 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.9053, allocations: 56.88 kB / 0.9497 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.9056, allocations: 259 kB / 0.9499 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.9056, allocations: 29.64 kB / 0.95 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.9057, allocations: 164.1 kB / 0.9501 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/0.9058, allocations: 48.52 kB / 0.9502 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.9059, allocations: 36.19 kB / 0.9502 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.906, allocations: 335 kB / 0.9505 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.9063, allocations: 101 kB / 0.9506 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.9066, allocations: 132.8 kB / 0.9507 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.9073, allocations: 233.5 kB / 0.951 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9073, allocations: 8.094 kB / 0.951 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001225/0.9085, allocations: 348.1 kB / 0.9513 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9085, allocations: 8.438 kB / 0.9513 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9086, allocations: 4.125 kB / 0.9513 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.9092, allocations: 85.67 kB / 0.9514 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.9095, allocations: 45.72 kB / 0.9514 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.9116, allocations: 1.6 MB / 0.953 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.9118, allocations: 39.95 kB / 0.953 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.9119, allocations: 13.91 kB / 0.9531 GB, free: 17.27 MB / 0.7481 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.0001549/0.912, allocations: 154.8 kB / 0.9532 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.9121, allocations: 24.7 kB / 0.9532 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.9133, allocations: 361.6 kB / 0.9536 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9133, allocations: 5.125 kB / 0.9536 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.9133, allocations: 4 kB / 0.9536 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9133, allocations: 1.125 kB / 0.9536 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.915, allocations: 0.7706 MB / 0.9543 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.915, allocations: 0.6875 kB / 0.9543 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.9153, allocations: 36.73 kB / 0.9544 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.9158, allocations: 91.28 kB / 0.9545 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.9158, allocations: 3.641 kB / 0.9545 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.9177, allocations: 1.628 MB / 0.956 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9177, allocations: 1.375 kB / 0.9561 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.919, allocations: 460.9 kB / 0.9565 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.9191, allocations: 120.2 kB / 0.9566 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.9192, allocations: 3.562 kB / 0.9566 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.9194, allocations: 25.47 kB / 0.9566 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.9195, allocations: 22.62 kB / 0.9567 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.9196, allocations: 10.34 kB / 0.9567 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002123/0.9198, allocations: 184.9 kB / 0.9568 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9198, allocations: 0.5625 kB / 0.9568 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005171/0.9203, allocations: 84.59 kB / 0.9569 GB, free: 15.03 MB / 0.7481 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.00181/0.9221, allocations: 1.042 MB / 0.9579 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.9232, allocations: 366.2 kB / 0.9583 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9233, allocations: 0.5625 kB / 0.9583 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.9239, allocations: 255.6 kB / 0.9585 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.9246, allocations: 116.2 kB / 0.9586 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.9293, allocations: 2.895 MB / 0.9615 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.9296, allocations: 0.769 MB / 0.9622 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.9299, allocations: 53.2 kB / 0.9623 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.93, allocations: 78.06 kB / 0.9623 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.93, allocations: 0 / 0.9623 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.9503, allocations: 8.063 MB / 0.9702 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.9506, allocations: 267.8 kB / 0.9705 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.92, allocations: 1.562 kB / 0.9705 GB, free: 10.73 MB / 0.7481 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)