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.697/2.697, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.002556/0.002556, allocations: 178.1 kB / 371 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.174/2.174, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.001204/0.001204, allocations: 89.22 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004955, allocations: 13.45 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2252, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8955/1.121, allocations: 146.6 MB / 1.122 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006848/1.128, allocations: 3.265 MB / 1.125 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/1.128, allocations: 7.188 kB / 1.125 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/1.129, allocations: 90.77 kB / 1.125 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/1.13, allocations: 337.4 kB / 1.125 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/1.133, allocations: 463.9 kB / 1.126 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001348/1.134, allocations: 0.6964 MB / 1.126 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/1.135, allocations: 175.9 kB / 1.127 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/1.136, allocations: 287.5 kB / 1.127 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/1.136, allocations: 181.1 kB / 1.127 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/1.136, allocations: 11.25 kB / 1.127 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/1.138, allocations: 320.1 kB / 1.127 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/1.138, allocations: 85.73 kB / 1.127 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/1.138, allocations: 71.2 kB / 1.127 GB, free: 16.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007687/1.139, allocations: 359.9 kB / 1.128 GB, free: 16.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.139, allocations: 0 / 1.128 GB, free: 16.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.139, allocations: 0 / 1.128 GB, free: 16.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.139, allocations: 0 / 1.128 GB, free: 16.44 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.001374/1.14, allocations: 0.5961 MB / 1.128 GB, free: 15.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.14, allocations: 8.031 kB / 1.128 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.998e-05/1.14, allocations: 57.66 kB / 1.128 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/1.141, allocations: 72.5 kB / 1.129 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/1.141, allocations: 292 kB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/1.142, allocations: 15.62 kB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/1.142, allocations: 17.31 kB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/1.143, allocations: 327.3 kB / 1.129 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.143, allocations: 2.938 kB / 1.129 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.143, allocations: 6.5 kB / 1.129 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.143, allocations: 7.5 kB / 1.129 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.144, allocations: 284.5 kB / 1.129 GB, free: 15.59 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.002382/1.146, allocations: 1.26 MB / 1.131 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/1.147, allocations: 189.6 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/1.147, allocations: 147.7 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009617/1.148, allocations: 317.5 kB / 1.131 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.148, allocations: 39.95 kB / 1.131 GB, free: 14.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.296e-06/1.149, allocations: 0 / 1.131 GB, free: 14.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.003868/1.152, allocations: 0.6229 MB / 1.132 GB, free: 14.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/1.152, allocations: 54.97 kB / 1.132 GB, free: 14.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/1.153, allocations: 248.9 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/1.153, allocations: 34.7 kB / 1.132 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/1.153, allocations: 169.3 kB / 1.132 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/1.153, allocations: 45.98 kB / 1.132 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/1.153, allocations: 2.5 kB / 1.132 GB, free: 13.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.153, allocations: 339.6 kB / 1.133 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/1.154, allocations: 111 kB / 1.133 GB, free: 13.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/1.154, allocations: 155.9 kB / 1.133 GB, free: 13.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/1.155, allocations: 121.4 kB / 1.133 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.155, allocations: 0 / 1.133 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002081/1.157, allocations: 379.8 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.157, allocations: 6.781 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.157, allocations: 0 / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/1.158, allocations: 91.86 kB / 1.134 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/1.159, allocations: 54.45 kB / 1.134 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/1.162, allocations: 1.607 MB / 1.135 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.162, allocations: 40.16 kB / 1.135 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/1.162, allocations: 11.72 kB / 1.135 GB, free: 12.06 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.0002464/1.163, allocations: 153.3 kB / 1.135 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/1.163, allocations: 27.83 kB / 1.135 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.165, allocations: 402.9 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.165, allocations: 0 / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.165, allocations: 2.531 kB / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.165, allocations: 0 / 1.136 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/1.168, allocations: 0.807 MB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.168, allocations: 0 / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/1.168, allocations: 43.28 kB / 1.137 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/1.169, allocations: 94.09 kB / 1.137 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.169, allocations: 10.41 kB / 1.137 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/1.172, allocations: 1.619 MB / 1.138 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.172, allocations: 0 / 1.138 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.174, allocations: 486.4 kB / 1.139 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.174, allocations: 127.8 kB / 1.139 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/1.174, allocations: 2.031 kB / 1.139 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/1.175, allocations: 37.55 kB / 1.139 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.175, allocations: 16.81 kB / 1.139 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/1.175, allocations: 5.281 kB / 1.139 GB, free: 9.863 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002709/1.175, allocations: 186.8 kB / 1.139 GB, free: 9.785 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.175, allocations: 0 / 1.139 GB, free: 9.785 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006203/1.176, allocations: 77.75 kB / 1.139 GB, free: 9.777 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.002742/1.179, allocations: 1.076 MB / 1.14 GB, free: 9.039 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.182, allocations: 391.8 kB / 1.141 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.182, allocations: 1.094 kB / 1.141 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.183, allocations: 282.3 kB / 1.141 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.184, allocations: 125.1 kB / 1.141 GB, free: 8.773 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/1.19, allocations: 1.698 MB / 1.143 GB, free: 8.113 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/1.19, allocations: 0.7697 MB / 1.143 GB, free: 7.414 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00044/1.191, allocations: 54.73 kB / 1.144 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/1.191, allocations: 75.47 kB / 1.144 GB, free: 7.395 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/1.191, allocations: 4.969 kB / 1.144 GB, free: 7.391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/1.231, allocations: 7.975 MB / 1.151 GB, free: 3.891 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004321/1.231, allocations: 262 kB / 1.152 GB, free: 3.551 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.312, allocations: 1.344 kB / 1.152 GB, free: 3.551 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)