Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.000861/0.000861, 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.001017/0.001017, 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.8749/0.8749, allocations: 230.6 MB / 256 MB, free: 9.594 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.03554/0.03554, allocations: 12.19 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.0004284/0.0004284, allocations: 23.97 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.509/1.509, allocations: 353.9 MB / 0.7787 GB, free: 4.625 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.SampleTriggerPositiveStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.001322/0.001322, allocations: 118.9 kB / 1.06 GB, free: 24.8 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2013, 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.SampleTriggerPositiveStartTime): time 0.001306/0.2026, allocations: 0.7207 MB / 1.192 GB, free: 6.805 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.2034, allocations: 1.114 MB / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.2035, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.2035, allocations: 3.938 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.2036, allocations: 15.84 kB / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.2038, allocations: 58.2 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.2039, allocations: 67.78 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.204, allocations: 16.17 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.2041, allocations: 27.92 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.2041, allocations: 39.83 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2041, allocations: 4 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.2042, allocations: 15.98 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.2042, allocations: 19.92 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.2042, allocations: 27.86 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2043, allocations: 79.91 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2043, allocations: 7.984 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2043, allocations: 0 / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2044, allocations: 0 / 1.194 GB, free: 5.301 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.0003739/0.2047, allocations: 298 kB / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2048, allocations: 16.03 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.2048, allocations: 34.75 kB / 1.194 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2048, allocations: 12.83 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.2049, allocations: 114.5 kB / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2049, allocations: 4.375 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.2049, allocations: 8.375 kB / 1.194 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.205, allocations: 73.91 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.205, allocations: 0 / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.205, allocations: 0 / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.2051, allocations: 0 / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.2051, allocations: 51.94 kB / 1.194 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.2055, allocations: 283.7 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2057, allocations: 50.55 kB / 1.195 GB, free: 4.254 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.2057, allocations: 28.97 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.2057, allocations: 0 / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.2059, allocations: 87.39 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2059, allocations: 0 / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002459/0.2061, allocations: 133.6 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2061, allocations: 51.41 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.2062, allocations: 129.8 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2062, allocations: 29.64 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.2063, allocations: 92.09 kB / 1.195 GB, free: 3.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.2063, allocations: 19.91 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.2063, allocations: 29.7 kB / 1.195 GB, free: 3.605 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.2064, allocations: 326.8 kB / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.2065, allocations: 27.97 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.2065, allocations: 73.92 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2067, allocations: 109.9 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2067, allocations: 0 / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000167/0.2068, allocations: 137.6 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2069, allocations: 8 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.2069, allocations: 4 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2069, allocations: 0 / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.2069, allocations: 15.98 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.207, allocations: 4 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.207, allocations: 11.92 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.207, allocations: 8 kB / 1.196 GB, free: 2.836 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.717e-05/0.2071, allocations: 125.7 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.2071, allocations: 11.89 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2071, allocations: 12.36 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2071, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2071, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2071, allocations: 4 kB / 1.196 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2074, allocations: 341.5 kB / 1.196 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2074, allocations: 0 / 1.196 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.2074, allocations: 11.98 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2075, allocations: 0 / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2075, allocations: 8 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2075, allocations: 3.938 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2075, allocations: 3.938 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2076, allocations: 195.5 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.2076, allocations: 7.891 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2076, allocations: 4 kB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.2077, allocations: 11.92 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.2077, allocations: 11.97 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2077, allocations: 4 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.2077, allocations: 95.27 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2077, allocations: 0 / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001649/0.2079, allocations: 19.94 kB / 1.197 GB, free: 1.902 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.0006028/0.2085, allocations: 0.7281 MB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2087, allocations: 88.06 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2087, allocations: 0 / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.2087, allocations: 27.98 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2089, allocations: 15.92 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.21, allocations: 1.524 MB / 1.199 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.2101, allocations: 79.33 kB / 1.199 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.2101, allocations: 11.98 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.2102, allocations: 19.44 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of SimCode: time 6.61e-07/0.2102, allocations: 0 / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.2245, allocations: 2.691 MB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.145/6.37, allocations: 5.141 kB / 1.202 GB, free: 12.7 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.315385954454541] Failed to read output from testmodel.py, exit status != 0: 6.4441387532278895 6.453720031 6.247186404 Calling exit ...