Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.0006821/0.0006821, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0006743/0.0006743, allocations: 216 kB / 22.25 MB, free: 3.73 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.912/0.912, allocations: 230.6 MB / 256 MB, free: 9.66 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.0381/0.0381, allocations: 12.2 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.0004072/0.0004072, allocations: 27.95 kB / 384.1 MB, free: 10.52 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.574/1.574, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.IntegerToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.00138/0.00138, allocations: 122.8 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1913, allocations: 134.9 MB / 1.192 GB, free: 7.516 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001349/0.1927, allocations: 0.6366 MB / 1.192 GB, free: 6.883 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.1934, allocations: 0.8553 MB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.1934, allocations: 4 kB / 1.193 GB, free: 6.012 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.1935, allocations: 3.938 kB / 1.193 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.1935, allocations: 7.938 kB / 1.193 GB, free: 6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1937, allocations: 23.92 kB / 1.193 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1937, allocations: 47.89 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.1938, allocations: 8 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.1939, allocations: 23.86 kB / 1.193 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.1939, allocations: 19.91 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1939, allocations: 4 kB / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.1939, allocations: 4 kB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.194, allocations: 15.98 kB / 1.193 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.194, allocations: 19.92 kB / 1.193 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.1941, allocations: 48.03 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1941, allocations: 0 / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1941, allocations: 0 / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1941, allocations: 0 / 1.193 GB, free: 5.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003562/0.1944, allocations: 278.3 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1945, allocations: 8.031 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.1945, allocations: 30.75 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.1945, allocations: 4.938 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.1946, allocations: 126.4 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1946, allocations: 384 / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1946, allocations: 8.375 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1948, allocations: 62.22 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1948, allocations: 3.938 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1948, allocations: 4 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1948, allocations: 4 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1949, allocations: 47.94 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1952, allocations: 259.8 kB / 1.194 GB, free: 4.855 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1953, allocations: 62.55 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1954, allocations: 32.91 kB / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1954, allocations: 0 / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.1954, allocations: 34.5 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1954, allocations: 0 / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.1957, allocations: 109.8 kB / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1957, allocations: 51.41 kB / 1.194 GB, free: 4.531 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.668e-05/0.1957, allocations: 109.8 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.1957, allocations: 25.7 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1958, allocations: 88.14 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1958, allocations: 11.89 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.1958, allocations: 17.72 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.1959, allocations: 326.8 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.1959, allocations: 23.92 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.196, allocations: 27.95 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1961, allocations: 56.81 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1961, allocations: 0 / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.1962, allocations: 89.55 kB / 1.195 GB, free: 3.727 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1962, allocations: 7.984 kB / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1962, allocations: 0 / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1963, allocations: 0 / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.1963, allocations: 11.98 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1963, allocations: 0 / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.1964, allocations: 8 kB / 1.195 GB, free: 3.699 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1964, allocations: 7.984 kB / 1.195 GB, free: 3.691 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.8e-05/0.1964, allocations: 115.3 kB / 1.195 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.1965, allocations: 4 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.1965, allocations: 4 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1965, allocations: 0 / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1965, allocations: 0 / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1965, allocations: 4 kB / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1966, allocations: 148.7 kB / 1.195 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1966, allocations: 0 / 1.195 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.1966, allocations: 19.92 kB / 1.195 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1966, allocations: 0 / 1.195 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1966, allocations: 4 kB / 1.195 GB, free: 3.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.1966, allocations: 0 / 1.195 GB, free: 3.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1966, allocations: 0 / 1.195 GB, free: 3.34 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1968, allocations: 187.4 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-06/0.1968, allocations: 4 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1968, allocations: 256 / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.1969, allocations: 15.98 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.1969, allocations: 11.98 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1969, allocations: 0 / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.1969, allocations: 87.27 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1969, allocations: 3.938 kB / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001461/0.1971, allocations: 8 kB / 1.196 GB, free: 3.012 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003143/0.1974, allocations: 0.7123 MB / 1.196 GB, free: 2.273 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1976, allocations: 63.94 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1976, allocations: 3.938 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1976, allocations: 27.92 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1978, allocations: 8.406 kB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.1988, allocations: 1.317 MB / 1.198 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.1988, allocations: 67.3 kB / 1.198 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.1989, allocations: 7.984 kB / 1.198 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1989, allocations: 11.44 kB / 1.198 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.1989, allocations: 4 kB / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2144, allocations: 2.401 MB / 1.2 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.861/6.076, allocations: 1.094 kB / 1.2 GB, free: 14.41 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_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_IntegerToReal.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.1755615696311] Failed to read output from testmodel.py, exit status != 0: 6.148804000578821 6.157965732 5.962168298 Calling exit ...