Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007533/0.0007533, allocations: 101.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.000839/0.000839, allocations: 212 kB / 22.25 MB, free: 3.578 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7959/0.7959, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009643/0.0009643, allocations: 63.31 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4992, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001338/0.5005, allocations: 0.7331 MB / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.5014, allocations: 1.091 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.5015, allocations: 0 / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.5015, allocations: 5.156 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.5016, allocations: 11.55 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.5019, allocations: 56.97 kB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.502, allocations: 67.09 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.5021, allocations: 24.48 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.5022, allocations: 32.59 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.5022, allocations: 27.19 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.5023, allocations: 7.531 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.5023, allocations: 14.19 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.5023, allocations: 18.83 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.5024, allocations: 29.5 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.5025, allocations: 86.12 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5025, allocations: 0.7031 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.885e-06/0.5025, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5025, allocations: 0 / 0.8195 GB, free: 15.8 MB / 0.6198 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.000426/0.503, allocations: 308.1 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.503, allocations: 8.5 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.503, allocations: 39.3 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5031, allocations: 8.828 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.5032, allocations: 119.1 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5032, allocations: 1.531 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.5032, allocations: 8.422 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5033, allocations: 72.34 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5033, allocations: 0 / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.5033, allocations: 6.828 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5033, allocations: 0 / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.5034, allocations: 47.11 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.5039, allocations: 279.7 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.504, allocations: 48.64 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.504, allocations: 34.97 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.504, allocations: 3.875 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.5042, allocations: 79.3 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.5042, allocations: 2.844 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002595/0.5044, allocations: 125.3 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5045, allocations: 54.05 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.5045, allocations: 133.6 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5046, allocations: 29.7 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.5046, allocations: 92.95 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.5046, allocations: 16.17 kB / 0.821 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.5046, allocations: 29.83 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.5047, allocations: 323.3 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.5048, allocations: 27.36 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.5049, allocations: 79.59 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.505, allocations: 107.3 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.505, allocations: 2.625 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000189/0.5052, allocations: 133.3 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5052, allocations: 5.25 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5052, allocations: 3.578 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5052, allocations: 5.281 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.5053, allocations: 18.12 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5053, allocations: 4.516 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.5054, allocations: 10.06 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5054, allocations: 4.891 kB / 0.8217 GB, free: 13.96 MB / 0.6198 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 7.077e-05/0.5054, allocations: 135.6 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.5054, allocations: 8.062 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.5055, allocations: 8.484 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5055, allocations: 0.7031 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5055, allocations: 0 / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5055, allocations: 0.6562 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.5058, allocations: 336.9 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5058, allocations: 3.984 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.5058, allocations: 18.03 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5058, allocations: 0 / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5058, allocations: 1.812 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5058, allocations: 3.938 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5058, allocations: 80 / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.506, allocations: 209.2 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.506, allocations: 6.578 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.506, allocations: 2.062 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.506, allocations: 22.2 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.5061, allocations: 10.14 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5061, allocations: 5.875 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.5061, allocations: 92.06 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5061, allocations: 0 / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001666/0.5063, allocations: 18.25 kB / 0.8226 GB, free: 13.24 MB / 0.6198 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.0003579/0.5066, allocations: 0.7382 MB / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.5068, allocations: 84.08 kB / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5068, allocations: 0 / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.098e-05/0.5069, allocations: 35.91 kB / 0.8234 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.5071, allocations: 20.14 kB / 0.8234 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.5081, allocations: 1.51 MB / 0.8249 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.5082, allocations: 75.55 kB / 0.825 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.5082, allocations: 8.062 kB / 0.825 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.5083, allocations: 26.17 kB / 0.825 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5083, allocations: 0 / 0.825 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.5234, allocations: 2.679 MB / 0.8276 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/7.069, allocations: 9.328 kB / 0.8276 GB, free: 10.16 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.115607283078134] Failed to read output from testmodel.py, exit status != 0: 7.14526400482282 7.156250669 6.651660163 Calling exit ...