Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_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.001299/0.001299, allocations: 108 kB / 15.61 MB, free: 152 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.001255/0.001255, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 275.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 104.1 kB / 0.6065 GB, free: 24.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1574, allocations: 89.14 MB / 0.6936 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4368/0.5943, allocations: 161.5 MB / 0.8513 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.5988, allocations: 3.497 MB / 0.8547 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.599, allocations: 9.469 kB / 0.8547 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.5994, allocations: 128 kB / 0.8548 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.6005, allocations: 456.1 kB / 0.8553 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.6018, allocations: 0.5899 MB / 0.8559 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000609/0.6025, allocations: 0.6269 MB / 0.8565 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.6028, allocations: 227.8 kB / 0.8567 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.6039, allocations: 352 kB / 0.857 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.6042, allocations: 187.2 kB / 0.8572 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.6043, allocations: 20.81 kB / 0.8572 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.6051, allocations: 0.5443 MB / 0.8578 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.6052, allocations: 105.9 kB / 0.8579 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.6054, allocations: 143.1 kB / 0.858 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007037/0.6061, allocations: 0.5422 MB / 0.8585 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6061, allocations: 0 / 0.8585 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6061, allocations: 0 / 0.8585 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6061, allocations: 0 / 0.8585 GB, free: 13.28 MB / 0.5919 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.0009976/0.6071, allocations: 0.6433 MB / 0.8591 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6072, allocations: 9.531 kB / 0.8592 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.6072, allocations: 54.42 kB / 0.8592 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.6077, allocations: 79.62 kB / 0.8593 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.6081, allocations: 292.3 kB / 0.8596 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6081, allocations: 12.06 kB / 0.8596 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.6082, allocations: 24.53 kB / 0.8596 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.6088, allocations: 312.7 kB / 0.8599 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6088, allocations: 2.125 kB / 0.8599 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.6088, allocations: 6.531 kB / 0.8599 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.6088, allocations: 13.16 kB / 0.8599 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.6095, allocations: 251.4 kB / 0.8602 GB, free: 11.98 MB / 0.5919 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.001519/0.611, allocations: 1.245 MB / 0.8614 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.6114, allocations: 179.5 kB / 0.8615 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.6117, allocations: 120.4 kB / 0.8617 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.6123, allocations: 309.4 kB / 0.862 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.6123, allocations: 33.47 kB / 0.862 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.6123, allocations: 0 / 0.862 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002117/0.6145, allocations: 0.5758 MB / 0.8625 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.6145, allocations: 55.41 kB / 0.8626 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.6147, allocations: 256.5 kB / 0.8628 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.6148, allocations: 32.08 kB / 0.8629 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6149, allocations: 172.8 kB / 0.863 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.615, allocations: 43.23 kB / 0.8631 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.615, allocations: 37.98 kB / 0.8631 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6152, allocations: 334.1 kB / 0.8634 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.6155, allocations: 99.62 kB / 0.8635 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.6158, allocations: 133 kB / 0.8637 GB, free: 9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.6164, allocations: 236 kB / 0.8639 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6164, allocations: 3.938 kB / 0.8639 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001098/0.6175, allocations: 362.9 kB / 0.8642 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6175, allocations: 6.812 kB / 0.8642 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6175, allocations: 0 / 0.8642 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/0.6181, allocations: 92.7 kB / 0.8643 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.6183, allocations: 38.12 kB / 0.8644 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6205, allocations: 1.727 MB / 0.8661 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.6208, allocations: 32.69 kB / 0.8661 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.6208, allocations: 8.969 kB / 0.8661 GB, free: 6.93 MB / 0.5919 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.0001446/0.6209, allocations: 147.8 kB / 0.8662 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.621, allocations: 24.56 kB / 0.8663 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.6221, allocations: 374.2 kB / 0.8666 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6222, allocations: 0 / 0.8666 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.6222, allocations: 2.094 kB / 0.8666 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6222, allocations: 3.984 kB / 0.8666 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.6238, allocations: 0.7736 MB / 0.8674 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.6238, allocations: 4.094 kB / 0.8674 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.624, allocations: 41.11 kB / 0.8674 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.6244, allocations: 83.41 kB / 0.8675 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.6244, allocations: 3.938 kB / 0.8675 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.6264, allocations: 1.741 MB / 0.8692 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6264, allocations: 5.891 kB / 0.8692 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6275, allocations: 447.2 kB / 0.8696 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.6277, allocations: 127.7 kB / 0.8698 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.6277, allocations: 6.969 kB / 0.8698 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.6279, allocations: 28.62 kB / 0.8698 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.628, allocations: 19.67 kB / 0.8698 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.6281, allocations: 5.219 kB / 0.8698 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001732/0.6282, allocations: 184.9 kB / 0.87 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6282, allocations: 0 / 0.87 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003736/0.6286, allocations: 91.42 kB / 0.8701 GB, free: 3.594 MB / 0.5919 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.001665/0.6303, allocations: 1.035 MB / 0.8711 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000953/0.6313, allocations: 373.5 kB / 0.8714 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6313, allocations: 0 / 0.8714 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.6319, allocations: 257.5 kB / 0.8717 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.6326, allocations: 140 kB / 0.8718 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.6371, allocations: 2.803 MB / 0.8746 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6375, allocations: 0.7677 MB / 0.8753 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.6377, allocations: 55.98 kB / 0.8754 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6378, allocations: 76.41 kB / 0.8754 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6378, allocations: 0 / 0.8754 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.674, allocations: 8.616 MB / 0.8838 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.72, allocations: 3.719 kB / 0.8839 GB, free: 8.051 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)