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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 216.6 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002459/0.002459, allocations: 289 kB / 312.7 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.187/1.187, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 101.8 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1719, allocations: 95.39 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.174/0.3459, allocations: 142.3 MB / 0.9716 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005377/0.3513, allocations: 3.267 MB / 0.9748 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.3517, allocations: 15.88 kB / 0.9748 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.3523, allocations: 142.9 kB / 0.975 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3537, allocations: 453.9 kB / 0.9754 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3554, allocations: 0.613 MB / 0.976 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.3563, allocations: 0.6283 MB / 0.9766 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.3568, allocations: 187.1 kB / 0.9768 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3582, allocations: 351.5 kB / 0.9771 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.3586, allocations: 199.2 kB / 0.9773 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.3587, allocations: 20 kB / 0.9773 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.3596, allocations: 490.7 kB / 0.9778 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3598, allocations: 95.66 kB / 0.9779 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.36, allocations: 115.5 kB / 0.978 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.361, allocations: 0.545 MB / 0.9785 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.361, allocations: 3.938 kB / 0.9785 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.361, allocations: 0 / 0.9785 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.361, allocations: 0 / 0.9785 GB, free: 2.398 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.001234/0.3622, allocations: 0.567 MB / 0.9791 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3623, allocations: 9.344 kB / 0.9791 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.066e-05/0.3624, allocations: 62.53 kB / 0.9792 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.3629, allocations: 83.64 kB / 0.9792 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.3634, allocations: 243.7 kB / 0.9795 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3634, allocations: 20.38 kB / 0.9795 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.3635, allocations: 27.88 kB / 0.9795 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.3641, allocations: 363.6 kB / 0.9799 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3641, allocations: 0 / 0.9799 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.3642, allocations: 12 kB / 0.9799 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3642, allocations: 7.938 kB / 0.9799 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.3648, allocations: 244.9 kB / 0.9801 GB, free: 0.6836 MB / 0.7169 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.3652/0.73, allocations: 0.9865 MB / 0.9811 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.7305, allocations: 170.7 kB / 0.9812 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.7308, allocations: 114.6 kB / 0.9813 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.7313, allocations: 74.62 kB / 0.9814 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.7313, allocations: 38.77 kB / 0.9815 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.315e-06/0.7313, allocations: 0 / 0.9815 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.002121/0.7334, allocations: 0.4941 MB / 0.9819 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.7335, allocations: 53.88 kB / 0.982 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.7337, allocations: 263.8 kB / 0.9822 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.7337, allocations: 29.67 kB / 0.9823 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.7338, allocations: 164 kB / 0.9824 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.7338, allocations: 54.94 kB / 0.9825 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.7339, allocations: 37.28 kB / 0.9825 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.734, allocations: 341.5 kB / 0.9828 GB, free: 151 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.7343, allocations: 93.02 kB / 0.9829 GB, free: 151 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.7346, allocations: 159.8 kB / 0.9831 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.7351, allocations: 247 kB / 0.9833 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7351, allocations: 0.9375 kB / 0.9833 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001068/0.7362, allocations: 349.4 kB / 0.9837 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7362, allocations: 5.312 kB / 0.9837 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7362, allocations: 1 kB / 0.9837 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.7368, allocations: 92.3 kB / 0.9837 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.737, allocations: 41.89 kB / 0.9838 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.7387, allocations: 1.62 MB / 0.9854 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.739, allocations: 32.67 kB / 0.9854 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.739, allocations: 16.62 kB / 0.9854 GB, free: 149.6 MB / 0.7169 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.000117/0.7391, allocations: 147.1 kB / 0.9856 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.7391, allocations: 27.44 kB / 0.9856 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.7402, allocations: 361.1 kB / 0.9859 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.7402, allocations: 1.031 kB / 0.9859 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.7402, allocations: 1.125 kB / 0.9859 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7402, allocations: 3.938 kB / 0.9859 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.7416, allocations: 0.7273 MB / 0.9866 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7416, allocations: 4.75 kB / 0.9866 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.7418, allocations: 41.58 kB / 0.9867 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.7422, allocations: 78.33 kB / 0.9868 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7423, allocations: 5.938 kB / 0.9868 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.7438, allocations: 1.629 MB / 0.9884 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7438, allocations: 1.656 kB / 0.9884 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7448, allocations: 460.7 kB / 0.9888 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7449, allocations: 44.16 kB / 0.9888 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.745, allocations: 2.922 kB / 0.9888 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.7452, allocations: 24.42 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.7453, allocations: 22.44 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7453, allocations: 6.406 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001526/0.7455, allocations: 194 kB / 0.9891 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7455, allocations: 0 / 0.9891 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004086/0.7459, allocations: 86.14 kB / 0.9892 GB, free: 147.1 MB / 0.7169 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.001356/0.7472, allocations: 1.024 MB / 0.9902 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.7481, allocations: 368.4 kB / 0.9905 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7481, allocations: 0 / 0.9905 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.7486, allocations: 251.2 kB / 0.9908 GB, free: 146 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.7493, allocations: 126 kB / 0.9909 GB, free: 146 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.7534, allocations: 2.812 MB / 0.9936 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.7536, allocations: 165.8 kB / 0.9938 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000222/0.7538, allocations: 60.45 kB / 0.9938 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7539, allocations: 75.42 kB / 0.9939 GB, free: 144 MB / 0.7169 GB Notification: Performance of SimCode: time 2.164e-06/0.7539, allocations: 0 / 0.9939 GB, free: 144 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.796, allocations: 9.53 MB / 1.003 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.91, allocations: 5.312 kB / 1.003 GB, free: 140.3 MB / 0.7169 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.9730518986471] Failed to read output from testmodel.py, exit status != 0: 13.026364577934146 13.036719436 12.673599069 Calling exit ...