Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0007603/0.0007603, allocations: 105.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.000769/0.000769, allocations: 218.7 kB / 22.25 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.8908/0.8908, allocations: 230.6 MB / 256 MB, free: 9.602 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.03467/0.03467, allocations: 12.19 MB / 324.6 MB, free: 6.102 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.0003919/0.0003919, allocations: 27.95 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.525/1.525, allocations: 353.9 MB / 0.7787 GB, free: 4.535 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.OnCounter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter",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.001332/0.001332, allocations: 124 kB / 1.06 GB, free: 24.86 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1909, allocations: 134.9 MB / 1.192 GB, free: 7.508 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001383/0.1923, allocations: 0.6556 MB / 1.192 GB, free: 6.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1935, allocations: 1.235 MB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.1935, allocations: 0 / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1935, allocations: 3.938 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.1936, allocations: 15.92 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.1941, allocations: 221.4 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1943, allocations: 179.7 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.1944, allocations: 11.98 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1944, allocations: 71.89 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1945, allocations: 55.78 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1946, allocations: 16 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.1946, allocations: 27.98 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.1946, allocations: 11.98 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.1947, allocations: 63.77 kB / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1949, allocations: 159.8 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1949, allocations: 0 / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1949, allocations: 0 / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1949, allocations: 4 kB / 1.194 GB, free: 4.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003855/0.1953, allocations: 365.5 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1953, allocations: 12.03 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.238e-05/0.1953, allocations: 30.75 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1954, allocations: 8.938 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.268e-05/0.1954, allocations: 118.4 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1955, allocations: 12.36 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1955, allocations: 11.94 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/0.1956, allocations: 49.67 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1956, allocations: 3.938 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1956, allocations: 8 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1956, allocations: 0 / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.1956, allocations: 12 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.196, allocations: 295.8 kB / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.1961, allocations: 34.56 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.1961, allocations: 16.86 kB / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.1961, allocations: 3.938 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.1962, allocations: 95.39 kB / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.1962, allocations: 0 / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002112/0.1965, allocations: 133.5 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1965, allocations: 55.41 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.1966, allocations: 121.7 kB / 1.196 GB, free: 3.254 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1966, allocations: 33.7 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.1966, allocations: 96.33 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.1966, allocations: 8.281 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.1967, allocations: 53.69 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.1968, allocations: 326.8 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1969, allocations: 123.4 kB / 1.196 GB, free: 2.586 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.197, allocations: 173.2 kB / 1.196 GB, free: 2.383 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1972, allocations: 189.3 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1972, allocations: 0 / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003008/0.1975, allocations: 352.2 kB / 1.197 GB, free: 1.789 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.1975, allocations: 68.95 kB / 1.197 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1975, allocations: 4 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1975, allocations: 8.094 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.1976, allocations: 4 kB / 1.197 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1976, allocations: 7.984 kB / 1.197 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.1977, allocations: 59.77 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1978, allocations: 12 kB / 1.197 GB, free: 1.617 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 7.22e-05/0.1978, allocations: 131.3 kB / 1.197 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.1978, allocations: 8 kB / 1.197 GB, free: 1.473 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.1979, allocations: 8.375 kB / 1.197 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1979, allocations: 0 / 1.197 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1979, allocations: 4 kB / 1.197 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1979, allocations: 3.938 kB / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1981, allocations: 321.6 kB / 1.198 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1981, allocations: 3.984 kB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-06/0.1981, allocations: 0 / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1981, allocations: 0 / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1981, allocations: 4 kB / 1.198 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1981, allocations: 3.938 kB / 1.198 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1981, allocations: 4 kB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1982, allocations: 195.5 kB / 1.198 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.1982, allocations: 7.938 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1982, allocations: 8 kB / 1.198 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.1983, allocations: 3.938 kB / 1.198 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.1983, allocations: 12.2 kB / 1.198 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1983, allocations: 7.984 kB / 1.198 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.1983, allocations: 99.2 kB / 1.198 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1983, allocations: 0 / 1.198 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001906/0.1985, allocations: 32 kB / 1.198 GB, free: 0.6992 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003221/0.1989, allocations: 0.7397 MB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1991, allocations: 290 kB / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1991, allocations: 0 / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.1991, allocations: 27.92 kB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1993, allocations: 23.86 kB / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2008, allocations: 2.112 MB / 1.201 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.2008, allocations: 80.02 kB / 1.201 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.2008, allocations: 4.672 kB / 1.201 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.2009, allocations: 23.42 kB / 1.201 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of SimCode: time 4.31e-07/0.2009, allocations: 288 / 1.201 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.2149, allocations: 3.773 MB / 1.205 GB, free: 9.547 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.076/6.291, allocations: 3.719 kB / 1.205 GB, free: 9.547 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.277349591255188] Failed to read output from testmodel.py, exit status != 0: 6.365347529761493 6.3731625659999995 6.176719689 Calling exit ...