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.001361/0.001361, allocations: 79.75 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001522/0.001522, allocations: 162.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.469/1.469, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.178/1.178, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.176e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001951/0.001983, allocations: 0.7171 MB / 0.6192 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003643, allocations: 1.1 MB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.003698, allocations: 0 / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.003733, allocations: 7.922 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.003822, allocations: 11.88 kB / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.004154, allocations: 51.77 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004293, allocations: 79.69 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004394, allocations: 8.188 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.004505, allocations: 39.97 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.004565, allocations: 31.89 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.004591, allocations: 8 kB / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.004656, allocations: 19.98 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.004685, allocations: 15.91 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.004731, allocations: 19.98 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.004918, allocations: 91.66 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.004922, allocations: 0 / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004924, allocations: 7.938 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.00493, allocations: 0 / 0.6207 GB, free: 2.383 MB / 0.5294 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.00058/0.00551, allocations: 306 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.005552, allocations: 17.41 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.005607, allocations: 12.89 kB / 0.621 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.005744, allocations: 117.7 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.005757, allocations: 384 / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.005773, allocations: 8.375 kB / 0.6211 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005973, allocations: 62.23 kB / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.005982, allocations: 192 / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005991, allocations: 384 / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.006002, allocations: 8.125 kB / 0.6212 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.006183, allocations: 51.89 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.006781, allocations: 248.5 kB / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.006966, allocations: 50.55 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.007069, allocations: 36.98 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.007093, allocations: 3.938 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.007321, allocations: 83.33 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.007322, allocations: 0 / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0005195/0.007842, allocations: 129.6 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.0079, allocations: 55.39 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.008062, allocations: 121.8 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.00809, allocations: 33.64 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.008158, allocations: 92.12 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.008183, allocations: 19.91 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.008234, allocations: 25.7 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003446/0.008578, allocations: 314.8 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.00869, allocations: 35.97 kB / 0.6224 GB, free: 432 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.008844, allocations: 73.92 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.009179, allocations: 109.9 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009182, allocations: 0 / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003255/0.009507, allocations: 133.5 kB / 0.6227 GB, free: 64 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.009524, allocations: 8.031 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.009532, allocations: 4 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.00955, allocations: 0 / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.009691, allocations: 23.95 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.009701, allocations: 11.88 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.009786, allocations: 15.89 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.009818, allocations: 7.984 kB / 0.6228 GB, free: 15.99 MB / 0.545 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 0.0001018/0.00992, allocations: 121.3 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.009939, allocations: 11.89 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.009971, allocations: 12.44 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009973, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.009977, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.009983, allocations: 4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.01045, allocations: 314.1 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01046, allocations: 3.984 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.01051, allocations: 8 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01051, allocations: 0 / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01052, allocations: 4 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01053, allocations: 4 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01053, allocations: 3.984 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.01084, allocations: 203.3 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01086, allocations: 11.89 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01087, allocations: 3.984 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.01096, allocations: 8 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.011, allocations: 7.984 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.01101, allocations: 0 / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.01107, allocations: 98.66 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01107, allocations: 3.938 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002688/0.01134, allocations: 20 kB / 0.6236 GB, free: 15.11 MB / 0.545 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.0001659/0.01151, allocations: 107.2 kB / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01178, allocations: 71.83 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01179, allocations: 448 / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01191, allocations: 35.97 kB / 0.6238 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01217, allocations: 15.94 kB / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.01254, allocations: 161.5 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01261, allocations: 75.08 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.01264, allocations: 7.984 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.01267, allocations: 16.5 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.01267, allocations: 0 / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Templates: time 0.004055/0.01673, allocations: 1.016 MB / 0.6251 GB, free: 13.61 MB / 0.545 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.910988487303257] Failed to read output from testmodel.py, exit status != 0: 0.0253915973007679 0.040304416 0.032210556 Calling exit ...