Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.00103, allocations: 178.7 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007776/0.0007775, allocations: 92.06 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8.938 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2431, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1805/0.4235, allocations: 157.3 MB / 1.055 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5927/1.016, allocations: 3.499 MB / 1.058 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/1.017, allocations: 12.06 kB / 1.058 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004649/1.017, allocations: 104.2 kB / 1.058 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/1.019, allocations: 426.9 kB / 1.058 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/1.02, allocations: 0.538 MB / 1.059 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008262/1.021, allocations: 0.8115 MB / 1.06 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/1.021, allocations: 193.5 kB / 1.06 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/1.023, allocations: 305.1 kB / 1.06 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/1.023, allocations: 192.2 kB / 1.06 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/1.023, allocations: 11.47 kB / 1.06 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/1.025, allocations: 0.6292 MB / 1.061 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/1.025, allocations: 82.41 kB / 1.061 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/1.025, allocations: 158.7 kB / 1.061 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/1.026, allocations: 0.5581 MB / 1.062 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.026, allocations: 0 / 1.062 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/1.026, allocations: 0 / 1.062 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.026, allocations: 4 kB / 1.062 GB, free: 17.88 MB / 0.7136 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.001125/1.028, allocations: 0.5988 MB / 1.062 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.028, allocations: 11.97 kB / 1.062 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.458e-05/1.028, allocations: 51.48 kB / 1.062 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/1.028, allocations: 79.92 kB / 1.063 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/1.029, allocations: 286.1 kB / 1.063 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.029, allocations: 19.31 kB / 1.063 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/1.029, allocations: 20.89 kB / 1.063 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/1.029, allocations: 336.3 kB / 1.063 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.029, allocations: 2.906 kB / 1.063 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/1.029, allocations: 10.3 kB / 1.063 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.029, allocations: 2.906 kB / 1.063 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/1.03, allocations: 279.7 kB / 1.063 GB, free: 17.04 MB / 0.7136 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.001738/1.032, allocations: 1.269 MB / 1.065 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/1.032, allocations: 190.8 kB / 1.065 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/1.033, allocations: 139.2 kB / 1.065 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/1.033, allocations: 317.3 kB / 1.065 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.033, allocations: 38.72 kB / 1.065 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/1.033, allocations: 0 / 1.065 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.002261/1.036, allocations: 0.6231 MB / 1.066 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.036, allocations: 54.44 kB / 1.066 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/1.036, allocations: 255.7 kB / 1.066 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/1.036, allocations: 31.92 kB / 1.066 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.036, allocations: 160 kB / 1.066 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/1.036, allocations: 47.7 kB / 1.066 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/1.036, allocations: 6.531 kB / 1.067 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.036, allocations: 340.1 kB / 1.067 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/1.037, allocations: 105.8 kB / 1.067 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/1.037, allocations: 154.5 kB / 1.067 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/1.038, allocations: 278.9 kB / 1.067 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/1.038, allocations: 2.75 kB / 1.067 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001294/1.039, allocations: 378.4 kB / 1.068 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.039, allocations: 5.781 kB / 1.068 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.039, allocations: 0.75 kB / 1.068 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/1.04, allocations: 95.62 kB / 1.068 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/1.04, allocations: 46.33 kB / 1.068 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/1.043, allocations: 1.621 MB / 1.069 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.043, allocations: 46.05 kB / 1.069 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/1.043, allocations: 8.672 kB / 1.069 GB, free: 13.5 MB / 0.7136 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.0002444/1.043, allocations: 141.7 kB / 1.07 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/1.043, allocations: 27.03 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.045, allocations: 398 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.045, allocations: 4.75 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/1.045, allocations: 2.906 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.045, allocations: 0.7969 kB / 1.07 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.047, allocations: 0.819 MB / 1.071 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.047, allocations: 1 kB / 1.071 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/1.047, allocations: 43 kB / 1.071 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/1.047, allocations: 94.31 kB / 1.071 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.048, allocations: 6.578 kB / 1.071 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.05, allocations: 1.622 MB / 1.073 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.05, allocations: 4.312 kB / 1.073 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/1.051, allocations: 491.5 kB / 1.073 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/1.051, allocations: 117.6 kB / 1.073 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.051, allocations: 6.734 kB / 1.073 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.052, allocations: 29.41 kB / 1.073 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.052, allocations: 25.98 kB / 1.073 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.052, allocations: 6.141 kB / 1.073 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000272/1.052, allocations: 186.7 kB / 1.073 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.052, allocations: 0.8125 kB / 1.073 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005547/1.053, allocations: 78.23 kB / 1.073 GB, free: 11.25 MB / 0.7136 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.001916/1.055, allocations: 1.074 MB / 1.075 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.056, allocations: 388.5 kB / 1.075 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.056, allocations: 0 / 1.075 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006995/1.056, allocations: 272.2 kB / 1.075 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/1.057, allocations: 117.7 kB / 1.075 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/1.064, allocations: 2.994 MB / 1.078 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/1.064, allocations: 0.7719 MB / 1.079 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003338/1.064, allocations: 52.83 kB / 1.079 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.065, allocations: 74.88 kB / 1.079 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/1.065, allocations: 4 kB / 1.079 GB, free: 8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/1.087, allocations: 7.932 MB / 1.087 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.088, allocations: 285.2 kB / 1.087 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.398, allocations: 2.672 kB / 1.087 GB, free: 7.051 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)