Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.0008697/0.0008697, allocations: 101.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.001094/0.001094, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.8814/0.8814, allocations: 230.6 MB / 256 MB, free: 9.582 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.03559/0.03559, allocations: 12.19 MB / 324.6 MB, free: 6.062 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.0005081/0.0005081, allocations: 31.95 kB / 384.1 MB, free: 10.49 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.529/1.529, 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.Reals.Sources.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",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.00134/0.00134, allocations: 118.2 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1944, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001314/0.1957, allocations: 0.5933 MB / 1.192 GB, free: 6.922 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.1963, allocations: 0.8164 MB / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1964, allocations: 0 / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.1964, allocations: 3.938 kB / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.1964, allocations: 0 / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 4.279e-05/0.1965, allocations: 0 / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.1965, allocations: 27.92 kB / 1.193 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1966, allocations: 3.984 kB / 1.193 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.1966, allocations: 7.938 kB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.1967, allocations: 11.98 kB / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1967, allocations: 0 / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-06/0.1967, allocations: 0 / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1967, allocations: 0 / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.1967, allocations: 11.94 kB / 1.193 GB, free: 6.027 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.666e-05/0.1968, allocations: 11.97 kB / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1968, allocations: 0 / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1968, allocations: 0 / 1.193 GB, free: 6.016 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1968, allocations: 4 kB / 1.193 GB, free: 6.012 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003093/0.1971, allocations: 254.7 kB / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1971, allocations: 8.031 kB / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.1972, allocations: 38.69 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.748e-05/0.1972, allocations: 4.891 kB / 1.193 GB, free: 5.672 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.1973, allocations: 106.5 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1973, allocations: 8.312 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.1973, allocations: 4.375 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1974, allocations: 46.23 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1974, allocations: 3.938 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1974, allocations: 3.984 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1974, allocations: 0 / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.1975, allocations: 31.91 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.1976, allocations: 124.8 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.357e-05/0.1977, allocations: 34.53 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.1977, allocations: 24.91 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.1977, allocations: 0 / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.1977, allocations: 30.56 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1977, allocations: 0 / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.1979, allocations: 77.58 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.1979, allocations: 55.34 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1982, allocations: 101.8 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.1982, allocations: 29.83 kB / 1.194 GB, free: 4.875 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.1983, allocations: 84.14 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1983, allocations: 3.953 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.1983, allocations: 9.719 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.1984, allocations: 318.8 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.1984, allocations: 15.97 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.1984, allocations: 11.98 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.1985, allocations: 36.89 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1985, allocations: 0 / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.004e-05/0.1986, allocations: 65.59 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1986, allocations: 11.94 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1986, allocations: 0 / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1986, allocations: 0 / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.1987, allocations: 8 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1987, allocations: 3.984 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.1987, allocations: 8.031 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1987, allocations: 0 / 1.195 GB, free: 4.281 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.718e-05/0.1988, allocations: 113.8 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-06/0.1988, allocations: 3.938 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.1988, allocations: 7.141 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1988, allocations: 0 / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1988, allocations: 0 / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1988, allocations: 0 / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.927e-05/0.1989, allocations: 120.8 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1989, allocations: 0 / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.1989, allocations: 15.98 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1989, allocations: 15.81 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1989, allocations: 0 / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.1989, allocations: 0 / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1989, allocations: 0 / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.199, allocations: 85.03 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.199, allocations: 7.953 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.199, allocations: 3.938 kB / 1.195 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.199, allocations: 12.02 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1991, allocations: 0 / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1991, allocations: 0 / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.1991, allocations: 87.27 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1991, allocations: 0 / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001095/0.1992, allocations: 4 kB / 1.195 GB, free: 3.742 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002705/0.1995, allocations: 0.6124 MB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1996, allocations: 35.94 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1996, allocations: 0 / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.1996, allocations: 19.98 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.1998, allocations: 3.984 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.2001, allocations: 119.2 kB / 1.196 GB, free: 2.883 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.2001, allocations: 59.47 kB / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.2001, allocations: 4 kB / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2001, allocations: 7.766 kB / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.2001, allocations: 0 / 1.196 GB, free: 2.793 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.212, allocations: 1.76 MB / 1.198 GB, free: 1.156 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.866/6.078, allocations: 7.266 kB / 1.198 GB, free: 1.156 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.09121092967689] Failed to read output from testmodel.py, exit status != 0: 6.151057727634907 6.159955442 5.961434519 Calling exit ...