Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0005784/0.0005784, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0006652/0.0006652, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.8978/0.8978, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03516/0.03516, allocations: 12.19 MB / 324.6 MB, free: 6.105 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004103/0.0004103, allocations: 31.89 kB / 384.1 MB, free: 10.53 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.553/1.553, allocations: 353.8 MB / 0.7787 GB, free: 4.609 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001375/0.001375, allocations: 117.6 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.187, allocations: 134.9 MB / 1.192 GB, free: 7.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001305/0.1883, allocations: 0.6089 MB / 1.192 GB, free: 6.965 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.189, allocations: 0.8475 MB / 1.193 GB, free: 6.105 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.189, allocations: 0 / 1.193 GB, free: 6.105 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.1891, allocations: 3.938 kB / 1.193 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.1891, allocations: 3.984 kB / 1.193 GB, free: 6.098 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1893, allocations: 23.86 kB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.1893, allocations: 27.92 kB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.1894, allocations: 4 kB / 1.193 GB, free: 6.043 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.1895, allocations: 11.98 kB / 1.193 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1895, allocations: 15.91 kB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1895, allocations: 4 kB / 1.193 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1895, allocations: 4 kB / 1.193 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1895, allocations: 4 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1896, allocations: 7.938 kB / 1.193 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.1896, allocations: 28.17 kB / 1.193 GB, free: 5.969 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1897, allocations: 4 kB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1897, allocations: 0 / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1897, allocations: 0 / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000331/0.19, allocations: 258.3 kB / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.19, allocations: 12.03 kB / 1.193 GB, free: 5.668 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.1901, allocations: 30.75 kB / 1.193 GB, free: 5.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.1901, allocations: 4.891 kB / 1.193 GB, free: 5.625 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.718e-05/0.1901, allocations: 106.5 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1902, allocations: 4.312 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1902, allocations: 8.375 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1903, allocations: 58.22 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1903, allocations: 3.938 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1903, allocations: 0 / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1903, allocations: 0 / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.1904, allocations: 39.94 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.1907, allocations: 216 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/0.1908, allocations: 46.44 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.1908, allocations: 28.89 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1908, allocations: 0 / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1908, allocations: 34.56 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1908, allocations: 0 / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/0.191, allocations: 85.59 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.1911, allocations: 55.34 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.1911, allocations: 110 kB / 1.194 GB, free: 4.723 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.1911, allocations: 25.7 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.1912, allocations: 80.14 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.1912, allocations: 4 kB / 1.194 GB, free: 4.605 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1912, allocations: 13.72 kB / 1.194 GB, free: 4.586 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.1913, allocations: 310.8 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.1913, allocations: 23.97 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.1914, allocations: 15.98 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.1914, allocations: 44.88 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1914, allocations: 11.81 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1915, allocations: 69.61 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1916, allocations: 11.94 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1916, allocations: 4 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1916, allocations: 0 / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1917, allocations: 7.984 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1917, allocations: 4.031 kB / 1.195 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.1917, allocations: 4 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.1917, allocations: 4 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.1917, allocations: 117.8 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.1918, allocations: 4 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.1918, allocations: 3.312 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1918, allocations: 0 / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1918, allocations: 0 / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1918, allocations: 0 / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.631e-05/0.1919, allocations: 132.7 kB / 1.195 GB, free: 3.762 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1919, allocations: 4 kB / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.1919, allocations: 7.984 kB / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1919, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1919, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.1919, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1919, allocations: 4 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.192, allocations: 167.4 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.1921, allocations: 11.92 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1921, allocations: 8 kB / 1.195 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.1921, allocations: 7.984 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1921, allocations: 3.984 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1921, allocations: 0 / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.1922, allocations: 83.28 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1922, allocations: 0 / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001419/0.1923, allocations: 4 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003167/0.1926, allocations: 0.7007 MB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1928, allocations: 43.89 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1928, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.1928, allocations: 23.98 kB / 1.196 GB, free: 2.652 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.193, allocations: 3.938 kB / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.1934, allocations: 151.2 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.1934, allocations: 55.36 kB / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.1934, allocations: 7.938 kB / 1.196 GB, free: 2.379 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1935, allocations: 19.42 kB / 1.196 GB, free: 2.359 MB / 0.823 GB Notification: Performance of SimCode: time 4.7e-07/0.1935, allocations: 0 / 1.196 GB, free: 2.359 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.2065, allocations: 1.987 MB / 1.198 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.88/6.086, allocations: 8.047 kB / 1.198 GB, free: 0.4961 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.139112153090537] Failed to read output from testmodel.py, exit status != 0: 6.160483317449689 6.168902002 5.97771776 Calling exit ...