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.001551/0.001551, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.00166, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.61/1.61, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001709/0.001709, allocations: 68.47 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2195, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5818/0.8013, allocations: 161.5 MB / 0.9413 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.8058, allocations: 3.477 MB / 0.9447 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.8063, allocations: 14.75 kB / 0.9447 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.8068, allocations: 133.7 kB / 0.9449 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.8082, allocations: 450.2 kB / 0.9453 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.8098, allocations: 0.596 MB / 0.9459 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.8106, allocations: 0.6191 MB / 0.9465 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.8109, allocations: 220.5 kB / 0.9467 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.8122, allocations: 344.4 kB / 0.947 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.8125, allocations: 196.5 kB / 0.9472 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.8126, allocations: 21.97 kB / 0.9472 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.8136, allocations: 0.549 MB / 0.9478 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.8137, allocations: 97.45 kB / 0.9479 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.8139, allocations: 141.4 kB / 0.948 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.815, allocations: 0.5558 MB / 0.9485 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.815, allocations: 1.703 kB / 0.9485 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.815, allocations: 0.5625 kB / 0.9485 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.815, allocations: 0 / 0.9485 GB, free: 1.406 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.001189/0.8162, allocations: 0.6319 MB / 0.9492 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8162, allocations: 9.844 kB / 0.9492 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.98e-05/0.8163, allocations: 57.98 kB / 0.9492 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.8169, allocations: 72.78 kB / 0.9493 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.8173, allocations: 309.5 kB / 0.9496 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.8173, allocations: 15.56 kB / 0.9496 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.8174, allocations: 19.78 kB / 0.9496 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.8181, allocations: 318.5 kB / 0.9499 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8181, allocations: 1 kB / 0.9499 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.8182, allocations: 5.562 kB / 0.9499 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.8182, allocations: 8.875 kB / 0.9499 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.8189, allocations: 250.1 kB / 0.9502 GB, free: 16.55 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.001463/0.8203, allocations: 1.24 MB / 0.9514 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.8208, allocations: 178.2 kB / 0.9516 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.8211, allocations: 122.9 kB / 0.9517 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.8216, allocations: 305.6 kB / 0.952 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.8216, allocations: 35.75 kB / 0.952 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.8217, allocations: 0 / 0.952 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.00212/0.8238, allocations: 0.576 MB / 0.9526 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.8238, allocations: 54.16 kB / 0.9526 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.8241, allocations: 256.4 kB / 0.9529 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.8241, allocations: 30.08 kB / 0.9529 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.8242, allocations: 167.1 kB / 0.953 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.8242, allocations: 51.98 kB / 0.9531 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.8243, allocations: 36.34 kB / 0.9531 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8244, allocations: 334.2 kB / 0.9535 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.8247, allocations: 103 kB / 0.9535 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.825, allocations: 130.8 kB / 0.9537 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.8256, allocations: 241.5 kB / 0.9539 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8256, allocations: 1.203 kB / 0.9539 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001106/0.8267, allocations: 352.6 kB / 0.9542 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8267, allocations: 8.375 kB / 0.9543 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8268, allocations: 2.906 kB / 0.9543 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.8273, allocations: 87 kB / 0.9543 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.8275, allocations: 45.86 kB / 0.9544 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.8296, allocations: 1.718 MB / 0.9561 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.8299, allocations: 44.28 kB / 0.9561 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.83, allocations: 5.844 kB / 0.9561 GB, free: 12.88 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 (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.0001867/0.8302, allocations: 146.7 kB / 0.9562 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.8302, allocations: 23.75 kB / 0.9563 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.8313, allocations: 364.9 kB / 0.9566 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8313, allocations: 5.25 kB / 0.9566 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.8313, allocations: 1.188 kB / 0.9566 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8313, allocations: 0 / 0.9566 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.8329, allocations: 0.7771 MB / 0.9574 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8329, allocations: 1.156 kB / 0.9574 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.8331, allocations: 44.7 kB / 0.9574 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.8336, allocations: 72.78 kB / 0.9575 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.8336, allocations: 8.594 kB / 0.9575 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.8354, allocations: 1.739 MB / 0.9592 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8354, allocations: 1.125 kB / 0.9592 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.8365, allocations: 457.7 kB / 0.9596 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.8367, allocations: 125.3 kB / 0.9598 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.8367, allocations: 1.469 kB / 0.9598 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.837, allocations: 27.81 kB / 0.9598 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.8371, allocations: 21.45 kB / 0.9598 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.8371, allocations: 6.203 kB / 0.9598 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001773/0.8373, allocations: 183 kB / 0.96 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8373, allocations: 1.125 kB / 0.96 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004562/0.8377, allocations: 83.47 kB / 0.9601 GB, free: 10.52 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 (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.001609/0.8394, allocations: 1.042 MB / 0.9611 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000954/0.8403, allocations: 366.6 kB / 0.9614 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8403, allocations: 0 / 0.9614 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.8409, allocations: 260.1 kB / 0.9617 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.8416, allocations: 116.6 kB / 0.9618 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.8461, allocations: 2.813 MB / 0.9645 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.8465, allocations: 0.7702 MB / 0.9653 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.8467, allocations: 54.67 kB / 0.9653 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.8468, allocations: 79.52 kB / 0.9654 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8468, allocations: 0 / 0.9654 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.8786, allocations: 8.619 MB / 0.9738 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.09, allocations: 7.531 kB / 0.9738 GB, free: 4.566 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)