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.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 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.00146/0.00146, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.637/1.637, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.771/1.771, allocations: 292.3 MB / 0.5489 GB, free: 13.5 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.001463/0.001463, allocations: 72.5 kB / 0.6716 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2187, allocations: 114.5 MB / 0.7835 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7579/0.9767, allocations: 161.5 MB / 0.9412 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.9811, allocations: 3.475 MB / 0.9446 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.9816, allocations: 11.53 kB / 0.9446 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.982, allocations: 136.4 kB / 0.9447 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.9833, allocations: 448.7 kB / 0.9451 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.985, allocations: 0.591 MB / 0.9457 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.9857, allocations: 0.6235 MB / 0.9463 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.9861, allocations: 223.2 kB / 0.9465 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.9873, allocations: 336.7 kB / 0.9469 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.9876, allocations: 193.8 kB / 0.947 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.9877, allocations: 20.53 kB / 0.9471 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.9888, allocations: 0.5506 MB / 0.9476 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.989, allocations: 96.22 kB / 0.9477 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.9891, allocations: 145.9 kB / 0.9478 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.9901, allocations: 0.5476 MB / 0.9484 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9901, allocations: 0 / 0.9484 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9901, allocations: 0 / 0.9484 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.9901, allocations: 0 / 0.9484 GB, free: 5.492 MB / 0.7325 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.001279/0.9914, allocations: 0.6341 MB / 0.949 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9914, allocations: 7.094 kB / 0.949 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.9915, allocations: 55.97 kB / 0.949 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.9921, allocations: 77.06 kB / 0.9491 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.9924, allocations: 292.8 kB / 0.9494 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.9924, allocations: 12.27 kB / 0.9494 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.9925, allocations: 28.59 kB / 0.9494 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.9931, allocations: 311.2 kB / 0.9497 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9931, allocations: 0 / 0.9497 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.9931, allocations: 8.5 kB / 0.9497 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.9932, allocations: 13.06 kB / 0.9498 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.9938, allocations: 250.3 kB / 0.95 GB, free: 20.64 MB / 0.7481 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.001715/0.9956, allocations: 1.247 MB / 0.9512 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.996, allocations: 171.1 kB / 0.9514 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.9964, allocations: 124 kB / 0.9515 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.997, allocations: 306.9 kB / 0.9518 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.997, allocations: 36.53 kB / 0.9518 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.997, allocations: 0 / 0.9518 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002386/0.9994, allocations: 0.5775 MB / 0.9524 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9995, allocations: 58.19 kB / 0.9524 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.9998, allocations: 253.2 kB / 0.9527 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.9998, allocations: 29.95 kB / 0.9527 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.9999, allocations: 165.1 kB / 0.9529 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/1, allocations: 50.97 kB / 0.9529 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/1, allocations: 37 kB / 0.9529 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1, allocations: 332.7 kB / 0.9533 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1, allocations: 102.1 kB / 0.9534 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.001, allocations: 131.8 kB / 0.9535 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/1.001, allocations: 241.9 kB / 0.9537 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.001, allocations: 0.5 kB / 0.9537 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001167/1.003, allocations: 354.2 kB / 0.9541 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.003, allocations: 8 kB / 0.9541 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.003, allocations: 1.375 kB / 0.9541 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/1.003, allocations: 90.05 kB / 0.9542 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/1.004, allocations: 49.61 kB / 0.9542 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.006, allocations: 1.712 MB / 0.9559 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/1.006, allocations: 43.53 kB / 0.9559 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.006, allocations: 10.31 kB / 0.9559 GB, free: 17.02 MB / 0.7481 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.0001816/1.007, allocations: 142.3 kB / 0.9561 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/1.007, allocations: 27.38 kB / 0.9561 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/1.008, allocations: 369.1 kB / 0.9564 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.008, allocations: 1.375 kB / 0.9564 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/1.008, allocations: 3.625 kB / 0.9564 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.008, allocations: 1.203 kB / 0.9564 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/1.01, allocations: 0.7744 MB / 0.9572 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.01, allocations: 5.156 kB / 0.9572 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.01, allocations: 36.16 kB / 0.9572 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/1.01, allocations: 86.25 kB / 0.9573 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.01, allocations: 9.219 kB / 0.9573 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/1.012, allocations: 1.74 MB / 0.959 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.012, allocations: 4.281 kB / 0.959 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.014, allocations: 449.8 kB / 0.9595 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/1.014, allocations: 123.3 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/1.014, allocations: 7.953 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/1.014, allocations: 22.36 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/1.014, allocations: 22.84 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.014, allocations: 5.406 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002219/1.015, allocations: 183.7 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.015, allocations: 1.734 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000527/1.015, allocations: 84.28 kB / 0.9599 GB, free: 14.68 MB / 0.7481 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.001787/1.017, allocations: 1.039 MB / 0.9609 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.018, allocations: 367.5 kB / 0.9613 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.018, allocations: 0 / 0.9613 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/1.018, allocations: 255.5 kB / 0.9615 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/1.019, allocations: 133.3 kB / 0.9616 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/1.024, allocations: 2.809 MB / 0.9644 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/1.025, allocations: 0.769 MB / 0.9651 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002952/1.025, allocations: 62.09 kB / 0.9652 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.025, allocations: 74.73 kB / 0.9653 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.025, allocations: 1.219 kB / 0.9653 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/1.059, allocations: 8.585 MB / 0.9736 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.65, allocations: 1.969 kB / 0.9736 GB, free: 10.67 MB / 0.7481 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)