Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0008695/0.0008695, 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.0009844/0.0009844, allocations: 213.2 kB / 22.25 MB, free: 3.566 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.8768/0.8768, allocations: 230.6 MB / 256 MB, free: 9.586 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.03575/0.03575, allocations: 12.2 MB / 324.6 MB, free: 6.07 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.0003665/0.0003665, allocations: 27.95 kB / 384.1 MB, free: 10.5 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.523/1.523, allocations: 353.9 MB / 0.7787 GB, free: 4.594 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",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.001355/0.001355, allocations: 128 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1916, allocations: 134.9 MB / 1.192 GB, free: 7.523 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001393/0.193, allocations: 0.7139 MB / 1.192 GB, free: 6.812 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.1939, allocations: 1.11 MB / 1.193 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.194, allocations: 4 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.194, allocations: 3.938 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.1941, allocations: 7.875 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1943, allocations: 63.81 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.1944, allocations: 75.77 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1945, allocations: 12.17 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.1946, allocations: 31.86 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.1946, allocations: 31.83 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1947, allocations: 8 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.597e-05/0.1947, allocations: 16 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1947, allocations: 7.984 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1947, allocations: 27.86 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1949, allocations: 83.91 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1949, allocations: 4 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1949, allocations: 0 / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1949, allocations: 0 / 1.194 GB, free: 5.316 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003812/0.1953, allocations: 306 kB / 1.194 GB, free: 4.988 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1953, allocations: 8.031 kB / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.1953, allocations: 38.75 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1954, allocations: 8.891 kB / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.043e-05/0.1954, allocations: 118.4 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1954, allocations: 384 / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1954, allocations: 8.375 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1956, allocations: 77.91 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1956, allocations: 0 / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1956, allocations: 4 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1956, allocations: 0 / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1957, allocations: 43.95 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.1961, allocations: 283.7 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1962, allocations: 58.55 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.1962, allocations: 28.95 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1962, allocations: 8 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.1964, allocations: 71.38 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1964, allocations: 0 / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002421/0.1966, allocations: 129.6 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1966, allocations: 67.38 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.1967, allocations: 117.8 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1967, allocations: 25.7 kB / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1968, allocations: 96.08 kB / 1.195 GB, free: 3.676 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.1968, allocations: 11.91 kB / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1968, allocations: 33.7 kB / 1.195 GB, free: 3.625 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.1969, allocations: 318.8 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.1969, allocations: 31.91 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.197, allocations: 86.3 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1971, allocations: 105.8 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1971, allocations: 0 / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000163/0.1973, allocations: 133.5 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1973, allocations: 8 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1973, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1973, allocations: 7.984 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.1974, allocations: 19.92 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1974, allocations: 4 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.1974, allocations: 12.16 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1975, allocations: 7.984 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: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.14e-05/0.1975, allocations: 129.7 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.1975, allocations: 3.953 kB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.1975, allocations: 12.38 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1975, allocations: 3.984 kB / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1976, allocations: 0 / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1976, allocations: 0 / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1978, allocations: 353.8 kB / 1.196 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1978, allocations: 0 / 1.196 GB, free: 2.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.1978, allocations: 11.98 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1979, allocations: 0 / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1979, allocations: 0 / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1979, allocations: 3.938 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1979, allocations: 0 / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.198, allocations: 195.5 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.198, allocations: 7.953 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.198, allocations: 4 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.1981, allocations: 15.92 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1981, allocations: 4 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1981, allocations: 7.938 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.1981, allocations: 95.27 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1981, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001627/0.1983, allocations: 19.94 kB / 1.197 GB, free: 1.918 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003621/0.1986, allocations: 0.7475 MB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1988, allocations: 75.83 kB / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1988, allocations: 0 / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.1989, allocations: 27.97 kB / 1.198 GB, free: 1.043 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.199, allocations: 20.31 kB / 1.198 GB, free: 1.023 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2001, allocations: 1.52 MB / 1.199 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.2001, allocations: 75.33 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.2001, allocations: 8 kB / 1.199 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2002, allocations: 23.42 kB / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of SimCode: time 5.41e-07/0.2002, allocations: 0 / 1.199 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.2135, allocations: 2.685 MB / 1.202 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.945/6.158, allocations: 21.17 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.146055669523776] Failed to read output from testmodel.py, exit status != 0: 6.2320800591260195 6.240938208 6.044293862 Calling exit ...