Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.789/2.789, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001732/0.001732, allocations: 175 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001242/0.001242, allocations: 101.5 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007823/0.0007831, allocations: 12.38 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2569, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.9855/1.243, allocations: 135.6 MB / 1.111 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007021/1.25, allocations: 3.036 MB / 1.114 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/1.25, allocations: 9.469 kB / 1.114 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000979/1.251, allocations: 157.5 kB / 1.114 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/1.253, allocations: 349 kB / 1.114 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/1.256, allocations: 478.4 kB / 1.115 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001277/1.257, allocations: 375.2 kB / 1.115 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/1.258, allocations: 177.3 kB / 1.115 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/1.26, allocations: 343 kB / 1.115 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/1.26, allocations: 134.7 kB / 1.116 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/1.26, allocations: 11.78 kB / 1.116 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/1.261, allocations: 259.2 kB / 1.116 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/1.262, allocations: 76.67 kB / 1.116 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/1.262, allocations: 72.48 kB / 1.116 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/1.263, allocations: 325.3 kB / 1.116 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.263, allocations: 0 / 1.116 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/1.263, allocations: 4 kB / 1.116 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.263, allocations: 0 / 1.116 GB, free: 0.7891 MB / 0.6823 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.001799/1.265, allocations: 0.585 MB / 1.117 GB, free: 16.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.265, allocations: 10.25 kB / 1.117 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/1.265, allocations: 59.94 kB / 1.117 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000833/1.266, allocations: 68.5 kB / 1.117 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/1.267, allocations: 288.7 kB / 1.117 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/1.267, allocations: 14.03 kB / 1.117 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/1.267, allocations: 26.34 kB / 1.117 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.268, allocations: 325.2 kB / 1.118 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.268, allocations: 0 / 1.118 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/1.268, allocations: 6.828 kB / 1.118 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.268, allocations: 4.312 kB / 1.118 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/1.27, allocations: 288 kB / 1.118 GB, free: 15.95 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.002921/1.273, allocations: 1.249 MB / 1.119 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/1.273, allocations: 215.1 kB / 1.119 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/1.274, allocations: 141.2 kB / 1.119 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.145e-05/1.274, allocations: 34.75 kB / 1.12 GB, free: 14.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.537e-06/1.274, allocations: 3.938 kB / 1.12 GB, free: 14.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.004096/1.278, allocations: 0.6181 MB / 1.12 GB, free: 14.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.279, allocations: 51.41 kB / 1.12 GB, free: 14.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/1.279, allocations: 255.9 kB / 1.12 GB, free: 14.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/1.279, allocations: 29.02 kB / 1.12 GB, free: 14.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.279, allocations: 164.1 kB / 1.121 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/1.279, allocations: 43.64 kB / 1.121 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/1.279, allocations: 2.125 kB / 1.121 GB, free: 14.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.28, allocations: 341.6 kB / 1.121 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.28, allocations: 107.4 kB / 1.121 GB, free: 14.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/1.281, allocations: 164.8 kB / 1.121 GB, free: 14.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/1.281, allocations: 126.6 kB / 1.121 GB, free: 14.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.281, allocations: 0 / 1.121 GB, free: 14.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002205/1.284, allocations: 373.9 kB / 1.122 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/1.284, allocations: 8.672 kB / 1.122 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.284, allocations: 0.7031 kB / 1.122 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.285, allocations: 91.81 kB / 1.122 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/1.285, allocations: 58.03 kB / 1.122 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/1.289, allocations: 1.626 MB / 1.123 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/1.289, allocations: 43.47 kB / 1.124 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.289, allocations: 8.375 kB / 1.124 GB, free: 12.61 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.0002841/1.29, allocations: 152.9 kB / 1.124 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/1.29, allocations: 22.03 kB / 1.124 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/1.292, allocations: 397.1 kB / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.292, allocations: 3.219 kB / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.292, allocations: 0 / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.292, allocations: 0 / 1.124 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.296, allocations: 0.9655 MB / 1.125 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.296, allocations: 0 / 1.125 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/1.296, allocations: 46.72 kB / 1.125 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008938/1.297, allocations: 89.81 kB / 1.125 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/1.297, allocations: 4.641 kB / 1.125 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/1.301, allocations: 1.647 MB / 1.127 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.301, allocations: 6.453 kB / 1.127 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/1.303, allocations: 0.5464 MB / 1.127 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.303, allocations: 115.5 kB / 1.127 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/1.303, allocations: 15.2 kB / 1.127 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/1.304, allocations: 36.62 kB / 1.127 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.304, allocations: 17.66 kB / 1.127 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.304, allocations: 7.062 kB / 1.127 GB, free: 10.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003094/1.304, allocations: 186.8 kB / 1.128 GB, free: 10.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.304, allocations: 0 / 1.128 GB, free: 10.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007199/1.305, allocations: 83.59 kB / 1.128 GB, free: 10.1 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.003184/1.308, allocations: 1.484 MB / 1.129 GB, free: 8.934 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.31, allocations: 396.9 kB / 1.13 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.31, allocations: 0 / 1.13 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.311, allocations: 272.8 kB / 1.13 GB, free: 8.684 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.313, allocations: 124.5 kB / 1.13 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/1.321, allocations: 2.563 MB / 1.132 GB, free: 7.234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/1.321, allocations: 0.7799 MB / 1.133 GB, free: 6.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004629/1.322, allocations: 51.31 kB / 1.133 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.322, allocations: 79.86 kB / 1.133 GB, free: 6.512 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.322, allocations: 3.938 kB / 1.133 GB, free: 6.508 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/1.368, allocations: 7.841 MB / 1.141 GB, free: 3.477 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004192/1.368, allocations: 256.6 kB / 1.141 GB, free: 3.137 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.214, allocations: 0 / 1.141 GB, free: 3.137 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)