Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009385, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005796/0.0005797, allocations: 15.53 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3099, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8631/1.173, allocations: 146.6 MB / 0.9306 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005461/1.179, allocations: 3.252 MB / 0.9338 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005178/1.179, allocations: 10.84 kB / 0.9338 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000642/1.18, allocations: 96.09 kB / 0.9339 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/1.181, allocations: 337.1 kB / 0.9342 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/1.183, allocations: 466 kB / 0.9346 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001268/1.184, allocations: 0.6914 MB / 0.9353 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/1.185, allocations: 177.8 kB / 0.9355 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.186, allocations: 287.8 kB / 0.9358 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/1.186, allocations: 181 kB / 0.9359 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/1.186, allocations: 10.5 kB / 0.9359 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/1.188, allocations: 323.9 kB / 0.9363 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/1.188, allocations: 78.14 kB / 0.9363 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/1.188, allocations: 81.7 kB / 0.9364 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008345/1.189, allocations: 350.7 kB / 0.9367 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.189, allocations: 0 / 0.9367 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/1.189, allocations: 0 / 0.9367 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.189, allocations: 0 / 0.9367 GB, free: 5.902 MB / 0.7169 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.001756/1.191, allocations: 0.5979 MB / 0.9373 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.191, allocations: 9.469 kB / 0.9373 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.422e-05/1.191, allocations: 58.7 kB / 0.9374 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/1.192, allocations: 74.22 kB / 0.9375 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/1.192, allocations: 286.6 kB / 0.9377 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.192, allocations: 20.08 kB / 0.9378 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/1.192, allocations: 21.91 kB / 0.9378 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/1.193, allocations: 327.2 kB / 0.9381 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.193, allocations: 2.531 kB / 0.9381 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/1.193, allocations: 8.844 kB / 0.9381 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.193, allocations: 5.781 kB / 0.9381 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/1.194, allocations: 286.7 kB / 0.9384 GB, free: 21.07 MB / 0.7325 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.001791/1.196, allocations: 1.256 MB / 0.9396 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/1.196, allocations: 198.6 kB / 0.9398 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/1.197, allocations: 142.3 kB / 0.9399 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/1.197, allocations: 321 kB / 0.9402 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.197, allocations: 32.06 kB / 0.9403 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/1.197, allocations: 0 / 0.9403 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002432/1.2, allocations: 0.617 MB / 0.9409 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.2, allocations: 53.09 kB / 0.9409 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/1.2, allocations: 252.1 kB / 0.9412 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.2, allocations: 31.98 kB / 0.9412 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/1.2, allocations: 169.5 kB / 0.9414 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/1.2, allocations: 48.67 kB / 0.9414 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.2, allocations: 2.25 kB / 0.9414 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.201, allocations: 337.9 kB / 0.9417 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/1.201, allocations: 112.3 kB / 0.9418 GB, free: 19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/1.202, allocations: 151.7 kB / 0.942 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/1.202, allocations: 130.2 kB / 0.9421 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.202, allocations: 0 / 0.9421 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001275/1.203, allocations: 376.5 kB / 0.9425 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.203, allocations: 5 kB / 0.9425 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.203, allocations: 7.641 kB / 0.9425 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/1.204, allocations: 86.84 kB / 0.9426 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/1.204, allocations: 56 kB / 0.9426 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.207, allocations: 1.605 MB / 0.9442 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/1.207, allocations: 39.95 kB / 0.9442 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/1.207, allocations: 19.86 kB / 0.9442 GB, free: 17.56 MB / 0.7325 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.0002183/1.207, allocations: 145.2 kB / 0.9444 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/1.207, allocations: 24 kB / 0.9444 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.209, allocations: 404.8 kB / 0.9448 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.209, allocations: 1.531 kB / 0.9448 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/1.209, allocations: 0.5938 kB / 0.9448 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.209, allocations: 4.75 kB / 0.9448 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/1.211, allocations: 0.8039 MB / 0.9456 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.211, allocations: 1.188 kB / 0.9456 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/1.211, allocations: 50.89 kB / 0.9456 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/1.211, allocations: 90.25 kB / 0.9457 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/1.211, allocations: 2.188 kB / 0.9457 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/1.214, allocations: 1.618 MB / 0.9473 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.214, allocations: 5.672 kB / 0.9473 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.215, allocations: 490.8 kB / 0.9478 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/1.215, allocations: 120.3 kB / 0.9479 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/1.215, allocations: 8.234 kB / 0.9479 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/1.215, allocations: 37.92 kB / 0.9479 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/1.215, allocations: 20.8 kB / 0.9479 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.216, allocations: 4.906 kB / 0.9479 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002062/1.216, allocations: 181.7 kB / 0.9481 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 1.406 kB / 0.9481 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005276/1.216, allocations: 91.48 kB / 0.9482 GB, free: 15.31 MB / 0.7325 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.001802/1.218, allocations: 1.068 MB / 0.9492 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.219, allocations: 390.2 kB / 0.9496 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.219, allocations: 0 / 0.9496 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005776/1.22, allocations: 286 kB / 0.9499 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/1.221, allocations: 116.6 kB / 0.95 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/1.224, allocations: 1.696 MB / 0.9517 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/1.225, allocations: 0.7734 MB / 0.9524 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002726/1.225, allocations: 53.12 kB / 0.9525 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/1.225, allocations: 82.28 kB / 0.9525 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/1.225, allocations: 0 / 0.9525 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/1.253, allocations: 7.965 MB / 0.9603 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/1.253, allocations: 246.4 kB / 0.9606 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/3.229, allocations: 0 / 0.9606 GB, free: 11.97 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: