Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.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.0007879/0.0007879, 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.0007572/0.0007572, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.8564/0.8564, allocations: 230.6 MB / 256 MB, free: 9.621 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.03641/0.03641, allocations: 12.19 MB / 324.6 MB, free: 6.113 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.0005086/0.0005086, allocations: 19.97 kB / 384.1 MB, free: 10.54 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.532/1.532, allocations: 353.9 MB / 0.7787 GB, free: 4.551 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.Integers.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Add",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.001351/0.001351, allocations: 117 kB / 1.06 GB, free: 24.8 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1919, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.00144/0.1933, allocations: 0.7385 MB / 1.192 GB, free: 6.777 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.1941, allocations: 0.8939 MB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.1941, allocations: 0 / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.1941, allocations: 3.938 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.1942, allocations: 7.875 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1944, allocations: 43.94 kB / 1.193 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.1944, allocations: 87.77 kB / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1945, allocations: 19.98 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.1946, allocations: 39.89 kB / 1.193 GB, free: 5.672 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1947, allocations: 43.83 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1947, allocations: 8 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.1947, allocations: 8 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1947, allocations: 27.84 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1948, allocations: 27.86 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1949, allocations: 87.89 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1949, allocations: 0 / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1949, allocations: 3.938 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1949, allocations: 0 / 1.194 GB, free: 5.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004103/0.1953, allocations: 322 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1953, allocations: 12.03 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.1954, allocations: 38.73 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.1954, allocations: 8.891 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.1955, allocations: 118.4 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1955, allocations: 4.375 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1955, allocations: 8.125 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1957, allocations: 101.6 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1957, allocations: 4 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1957, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1957, allocations: 7.984 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1959, allocations: 95.91 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1963, allocations: 299.7 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.1966, allocations: 118.6 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.197, allocations: 56.81 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.197, allocations: 3.984 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.197, allocations: 38.5 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.197, allocations: 0 / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003685/0.1974, allocations: 185.4 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.1974, allocations: 55.41 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.1974, allocations: 125.8 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1975, allocations: 29.7 kB / 1.195 GB, free: 3.703 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.1975, allocations: 92.09 kB / 1.195 GB, free: 3.609 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1975, allocations: 23.78 kB / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1975, allocations: 25.7 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.1976, allocations: 310.8 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.1977, allocations: 51.95 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.1978, allocations: 47.95 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.198, allocations: 96.7 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.198, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002134/0.1982, allocations: 137.6 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1982, allocations: 5.719 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1982, allocations: 3.984 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1982, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.1983, allocations: 23.97 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1983, allocations: 4.484 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.1984, allocations: 19.98 kB / 1.196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1984, allocations: 4 kB / 1.196 GB, free: 2.848 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.099e-05/0.1984, allocations: 117.8 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1984, allocations: 7.953 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.1985, allocations: 16.3 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1985, allocations: 0 / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1985, allocations: 3.938 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1985, allocations: 0 / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1986, allocations: 156.7 kB / 1.196 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1986, allocations: 4 kB / 1.196 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.1987, allocations: 31.97 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1987, allocations: 3.938 kB / 1.196 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.1987, allocations: 7.984 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1987, allocations: 0 / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1987, allocations: 3.938 kB / 1.196 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1989, allocations: 235.3 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.1989, allocations: 11.89 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1989, allocations: 8 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.199, allocations: 11.98 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1991, allocations: 23.91 kB / 1.197 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1991, allocations: 4 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.1991, allocations: 95.64 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1991, allocations: 0 / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001492/0.1993, allocations: 16 kB / 1.197 GB, free: 2.031 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004228/0.1997, allocations: 0.7762 MB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1999, allocations: 95.91 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1999, allocations: 0 / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2, allocations: 71.88 kB / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.2002, allocations: 15.94 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2015, allocations: 1.541 MB / 1.199 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.2015, allocations: 75.08 kB / 1.199 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.2016, allocations: 12 kB / 1.199 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.2016, allocations: 31.42 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2016, allocations: 0 / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.216, allocations: 3.36 MB / 1.203 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.009/6.225, allocations: 5.484 kB / 1.203 GB, free: 12.07 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add_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_Integers_Validation_Add.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.228038084693253] Failed to read output from testmodel.py, exit status != 0: 6.298267903737724 6.306602475 6.110083144 Calling exit ...