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.6/1.6, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.000999/0.0009989, allocations: 181.3 kB / 372.3 MB, free: 10.1 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.386/1.386, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007821/0.000782, allocations: 90.3 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 17.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.67/0.8603, allocations: 146.6 MB / 1.123 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004433/0.8648, allocations: 3.258 MB / 1.127 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.8652, allocations: 9.188 kB / 1.127 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.8657, allocations: 102.7 kB / 1.127 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.8669, allocations: 393.9 kB / 1.127 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.8685, allocations: 0.4946 MB / 1.128 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.8694, allocations: 0.7056 MB / 1.128 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.8697, allocations: 191.3 kB / 1.128 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.8707, allocations: 290.6 kB / 1.129 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.871, allocations: 182.8 kB / 1.129 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.8711, allocations: 11.31 kB / 1.129 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.8723, allocations: 0.6202 MB / 1.129 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.8724, allocations: 85.12 kB / 1.13 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.8726, allocations: 149.7 kB / 1.13 GB, free: 17.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.8732, allocations: 390.6 kB / 1.13 GB, free: 17.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8732, allocations: 0 / 1.13 GB, free: 17.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8732, allocations: 0 / 1.13 GB, free: 17.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8732, allocations: 0 / 1.13 GB, free: 17.14 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.001018/0.8742, allocations: 0.5938 MB / 1.131 GB, free: 16.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.8743, allocations: 11.78 kB / 1.131 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/0.8744, allocations: 55.83 kB / 1.131 GB, free: 16.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.8749, allocations: 78.88 kB / 1.131 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.8753, allocations: 292.2 kB / 1.131 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.8754, allocations: 15.59 kB / 1.131 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.8754, allocations: 18.16 kB / 1.131 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.8761, allocations: 329.4 kB / 1.131 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8761, allocations: 0 / 1.131 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.8761, allocations: 8.969 kB / 1.131 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.8761, allocations: 9.781 kB / 1.131 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.8768, allocations: 280.2 kB / 1.132 GB, free: 16.28 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.001482/0.8783, allocations: 1.26 MB / 1.133 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.8787, allocations: 189.1 kB / 1.133 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.879, allocations: 141.5 kB / 1.133 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.8796, allocations: 321.5 kB / 1.134 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.8796, allocations: 39.31 kB / 1.134 GB, free: 15.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.8797, allocations: 0 / 1.134 GB, free: 15.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002116/0.8818, allocations: 0.6162 MB / 1.134 GB, free: 14.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.8818, allocations: 58.34 kB / 1.134 GB, free: 14.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.8821, allocations: 252.9 kB / 1.134 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.8821, allocations: 31.89 kB / 1.135 GB, free: 14.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.8822, allocations: 163.2 kB / 1.135 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.8822, allocations: 45.62 kB / 1.135 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.8823, allocations: 2.188 kB / 1.135 GB, free: 14.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8824, allocations: 337.4 kB / 1.135 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.8827, allocations: 111.2 kB / 1.135 GB, free: 14.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.883, allocations: 153.2 kB / 1.135 GB, free: 14.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.8836, allocations: 273.3 kB / 1.136 GB, free: 14.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8836, allocations: 0 / 1.136 GB, free: 14.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001124/0.8848, allocations: 379.4 kB / 1.136 GB, free: 14.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8848, allocations: 11.19 kB / 1.136 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8848, allocations: 2.656 kB / 1.136 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.8854, allocations: 87.84 kB / 1.136 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.8856, allocations: 55.5 kB / 1.136 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.8877, allocations: 1.611 MB / 1.138 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.888, allocations: 42.39 kB / 1.138 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.888, allocations: 12 kB / 1.138 GB, free: 12.69 MB / 0.698 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 (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.0001869/0.8882, allocations: 152 kB / 1.138 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.8883, allocations: 24.48 kB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.8895, allocations: 393.2 kB / 1.138 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.8895, allocations: 5.594 kB / 1.138 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.8895, allocations: 5.969 kB / 1.138 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8895, allocations: 0 / 1.138 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.8912, allocations: 0.8067 MB / 1.139 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8912, allocations: 0 / 1.139 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.8914, allocations: 49.88 kB / 1.139 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.8919, allocations: 89.36 kB / 1.139 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.8919, allocations: 1.969 kB / 1.139 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.8939, allocations: 1.634 MB / 1.141 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.8939, allocations: 3.125 kB / 1.141 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.8951, allocations: 485 kB / 1.141 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.8953, allocations: 120.8 kB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.8953, allocations: 6 kB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.8956, allocations: 34.03 kB / 1.141 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.8957, allocations: 20.81 kB / 1.141 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.8957, allocations: 3.5 kB / 1.141 GB, free: 10.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001919/0.8959, allocations: 186 kB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8959, allocations: 4 kB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005166/0.8964, allocations: 88.53 kB / 1.142 GB, free: 10.32 MB / 0.698 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 (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.001682/0.8981, allocations: 1.073 MB / 1.143 GB, free: 9.504 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009993/0.8991, allocations: 385.3 kB / 1.143 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8992, allocations: 4 kB / 1.143 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.8998, allocations: 274 kB / 1.143 GB, free: 9.176 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.9006, allocations: 127.6 kB / 1.143 GB, free: 9.137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.9039, allocations: 1.7 MB / 1.145 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.9043, allocations: 0.77 MB / 1.146 GB, free: 7.512 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002985/0.9046, allocations: 58.12 kB / 1.146 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.9047, allocations: 70.98 kB / 1.146 GB, free: 7.473 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.9047, allocations: 0 / 1.146 GB, free: 7.473 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5802/1.485, allocations: 8.022 MB / 1.154 GB, free: 3.586 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/1.485, allocations: 253.6 kB / 1.154 GB, free: 3.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.847, allocations: 5.219 kB / 1.154 GB, free: 3.25 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)