Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007893/0.0007893, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008033/0.0008033, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8535/0.8535, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7436/0.7436, allocations: 203.8 MB / 0.5049 GB, free: 0.6641 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [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.001343/0.001343, allocations: 67.89 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4839, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00137/0.4852, allocations: 0.7629 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.4861, allocations: 1.108 MB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.4862, allocations: 0.5 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.4862, allocations: 4.641 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.4863, allocations: 12.11 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.4865, allocations: 56.06 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4866, allocations: 69.41 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.4867, allocations: 21.34 kB / 0.8211 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.4868, allocations: 31.73 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.4868, allocations: 32.69 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.4868, allocations: 5.625 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.4869, allocations: 24.88 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.4869, allocations: 14.5 kB / 0.8212 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.487, allocations: 35.16 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.4871, allocations: 77.77 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4871, allocations: 4.938 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4871, allocations: 1.031 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4871, allocations: 0 / 0.8213 GB, free: 23.8 MB / 0.6355 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.0003629/0.4875, allocations: 304 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4875, allocations: 11.97 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4875, allocations: 8.172 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.865e-05/0.4876, allocations: 116.5 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4876, allocations: 8.234 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4876, allocations: 8.656 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4878, allocations: 65.02 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.4878, allocations: 4.562 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4878, allocations: 1.469 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4878, allocations: 2.203 kB / 0.8218 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4879, allocations: 48.11 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.4883, allocations: 292.6 kB / 0.8221 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4884, allocations: 53.33 kB / 0.8222 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.4884, allocations: 29.23 kB / 0.8222 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4884, allocations: 11.11 kB / 0.8222 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.4886, allocations: 85.34 kB / 0.8223 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4886, allocations: 2.344 kB / 0.8223 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002555/0.4888, allocations: 119.8 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.4888, allocations: 54.47 kB / 0.8225 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.4889, allocations: 128.4 kB / 0.8226 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4889, allocations: 26.73 kB / 0.8226 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.4889, allocations: 92.94 kB / 0.8227 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.4889, allocations: 19.81 kB / 0.8227 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.489, allocations: 29.55 kB / 0.8227 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.771e-05/0.489, allocations: 320 kB / 0.8231 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.4891, allocations: 30.73 kB / 0.8231 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.4891, allocations: 84.8 kB / 0.8232 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4893, allocations: 107.3 kB / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4893, allocations: 1.469 kB / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001778/0.4894, allocations: 132.9 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4895, allocations: 7.109 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4895, allocations: 5.969 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4895, allocations: 2.438 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.4896, allocations: 17.02 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4896, allocations: 3.406 kB / 0.8234 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.4896, allocations: 11.23 kB / 0.8234 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4896, allocations: 9.562 kB / 0.8234 GB, free: 22 MB / 0.6355 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 4.583e-05/0.4897, allocations: 128.8 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.4897, allocations: 7.109 kB / 0.8236 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.4897, allocations: 14.36 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4897, allocations: 2.203 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4897, allocations: 0.6562 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4897, allocations: 0.875 kB / 0.8236 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.49, allocations: 346.1 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.49, allocations: 1.094 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.49, allocations: 7.312 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.49, allocations: 5.25 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.49, allocations: 1.094 kB / 0.8239 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.49, allocations: 5.969 kB / 0.8239 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.49, allocations: 400 / 0.8239 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.4901, allocations: 206.6 kB / 0.8241 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.4901, allocations: 7.469 kB / 0.8242 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.4902, allocations: 2.5 kB / 0.8242 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.4902, allocations: 18.42 kB / 0.8242 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.4902, allocations: 8.906 kB / 0.8242 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4902, allocations: 2.344 kB / 0.8242 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.4903, allocations: 91.53 kB / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4903, allocations: 1.188 kB / 0.8243 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001731/0.4904, allocations: 17.11 kB / 0.8243 GB, free: 21.28 MB / 0.6355 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 8.446e-05/0.4905, allocations: 99.88 kB / 0.8244 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4907, allocations: 76.94 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4907, allocations: 0 / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.4908, allocations: 34.92 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.491, allocations: 14.3 kB / 0.8245 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.4912, allocations: 199.1 kB / 0.8247 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.4913, allocations: 0.6878 MB / 0.8254 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.4913, allocations: 13.38 kB / 0.8254 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/0.4913, allocations: 0 / 0.8254 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.00205/0.4934, allocations: 1.048 MB / 0.8264 GB, free: 20.19 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.500430783024058] Failed to read output from testmodel.py, exit status != 0: 0.49949993495829403 0.5069690969999999 0.018105758 Calling exit ...