Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 288.2 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 186.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009081, allocations: 105.1 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.000518, allocations: 16.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2778, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8293/1.107, allocations: 135.6 MB / 1.112 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006639/1.114, allocations: 3.034 MB / 1.115 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/1.114, allocations: 8 kB / 1.115 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008469/1.115, allocations: 161.2 kB / 1.115 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/1.117, allocations: 350.6 kB / 1.115 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/1.119, allocations: 472.7 kB / 1.116 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008624/1.12, allocations: 372.8 kB / 1.116 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/1.12, allocations: 181.4 kB / 1.116 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/1.121, allocations: 337.8 kB / 1.117 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/1.121, allocations: 137.8 kB / 1.117 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/1.121, allocations: 11.06 kB / 1.117 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/1.122, allocations: 266.2 kB / 1.117 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/1.122, allocations: 74.83 kB / 1.117 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/1.123, allocations: 72.64 kB / 1.117 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/1.123, allocations: 320.2 kB / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/1.123, allocations: 1.859 kB / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.123, allocations: 0 / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.123, allocations: 0 / 1.118 GB, free: 17.47 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001104/1.124, allocations: 0.5873 MB / 1.118 GB, free: 17.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.124, allocations: 9.438 kB / 1.118 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.119e-05/1.124, allocations: 57.62 kB / 1.118 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/1.125, allocations: 71.86 kB / 1.118 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/1.125, allocations: 286.5 kB / 1.118 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/1.125, allocations: 18.34 kB / 1.119 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/1.125, allocations: 19.5 kB / 1.119 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/1.126, allocations: 326.2 kB / 1.119 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.126, allocations: 1.75 kB / 1.119 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/1.126, allocations: 12.22 kB / 1.119 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.126, allocations: 4.406 kB / 1.119 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/1.127, allocations: 285.8 kB / 1.119 GB, free: 16.62 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.001675/1.129, allocations: 1.25 MB / 1.12 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/1.129, allocations: 217.2 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/1.13, allocations: 140.4 kB / 1.121 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.13, allocations: 31.5 kB / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/1.13, allocations: 0 / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002336/1.132, allocations: 0.6201 MB / 1.121 GB, free: 15.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/1.132, allocations: 53.91 kB / 1.121 GB, free: 15.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/1.132, allocations: 253.7 kB / 1.122 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.132, allocations: 34.58 kB / 1.122 GB, free: 15.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.132, allocations: 163.6 kB / 1.122 GB, free: 15.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/1.133, allocations: 46.42 kB / 1.122 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/1.133, allocations: 3.438 kB / 1.122 GB, free: 15.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.133, allocations: 336.7 kB / 1.122 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/1.133, allocations: 112 kB / 1.122 GB, free: 14.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/1.133, allocations: 159.5 kB / 1.122 GB, free: 14.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/1.134, allocations: 125.4 kB / 1.123 GB, free: 14.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.134, allocations: 0 / 1.123 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001222/1.135, allocations: 379.8 kB / 1.123 GB, free: 14.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.135, allocations: 5.062 kB / 1.123 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.135, allocations: 1.125 kB / 1.123 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/1.136, allocations: 89.92 kB / 1.123 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/1.136, allocations: 49.98 kB / 1.123 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/1.138, allocations: 1.632 MB / 1.125 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/1.139, allocations: 54.62 kB / 1.125 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/1.139, allocations: 7.406 kB / 1.125 GB, free: 13.27 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/1.139, allocations: 154.4 kB / 1.125 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/1.139, allocations: 21.97 kB / 1.125 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.14, allocations: 397.6 kB / 1.125 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.14, allocations: 5.281 kB / 1.125 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/1.14, allocations: 0 / 1.125 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.14, allocations: 1.344 kB / 1.125 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/1.142, allocations: 0.9544 MB / 1.126 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.142, allocations: 0 / 1.126 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/1.143, allocations: 52.53 kB / 1.126 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/1.143, allocations: 92.55 kB / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.143, allocations: 6.25 kB / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.145, allocations: 1.64 MB / 1.128 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/1.145, allocations: 5.609 kB / 1.128 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.146, allocations: 0.5439 MB / 1.128 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/1.146, allocations: 127.1 kB / 1.129 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/1.146, allocations: 3.953 kB / 1.129 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/1.147, allocations: 38.83 kB / 1.129 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/1.147, allocations: 18.09 kB / 1.129 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/1.147, allocations: 5.406 kB / 1.129 GB, free: 10.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001974/1.147, allocations: 182.6 kB / 1.129 GB, free: 10.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.147, allocations: 2.875 kB / 1.129 GB, free: 10.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004845/1.148, allocations: 84.84 kB / 1.129 GB, free: 10.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00198/1.15, allocations: 1.481 MB / 1.13 GB, free: 9.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.151, allocations: 395 kB / 1.131 GB, free: 9.473 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.151, allocations: 4.062 kB / 1.131 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/1.151, allocations: 274.8 kB / 1.131 GB, free: 9.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/1.152, allocations: 118.8 kB / 1.131 GB, free: 9.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/1.157, allocations: 2.558 MB / 1.134 GB, free: 7.906 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/1.157, allocations: 0.7792 MB / 1.134 GB, free: 7.207 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002734/1.157, allocations: 59.92 kB / 1.134 GB, free: 7.191 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.157, allocations: 77.16 kB / 1.135 GB, free: 7.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/1.157, allocations: 0 / 1.135 GB, free: 7.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/1.182, allocations: 7.859 MB / 1.142 GB, free: 3.371 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.182, allocations: 263.3 kB / 1.142 GB, free: 3.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/3.193, allocations: 0 / 1.142 GB, free: 3.02 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)