Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001447/0.001447, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.001957/0.001957, allocations: 167.5 kB / 22.46 MB, free: 5.371 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.201/1.201, allocations: 154.6 MB / 413.7 MB, free: 5.273 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.409e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001961/0.001995, allocations: 0.7273 MB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.003795, allocations: 1.085 MB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.00385, allocations: 0 / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.003889, allocations: 19.8 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.003968, allocations: 13.17 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.00428, allocations: 51.7 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.004615, allocations: 79.77 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.004722, allocations: 9.469 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.004831, allocations: 39.89 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.004891, allocations: 23.97 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.004912, allocations: 4 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.004977, allocations: 27.97 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.005011, allocations: 15.92 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.005074, allocations: 31.84 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.005343, allocations: 83.67 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.005347, allocations: 0 / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005348, allocations: 0 / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.005354, allocations: 0 / 0.6207 GB, free: 2.41 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.0006658/0.00602, allocations: 310 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.006076, allocations: 9.469 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.006129, allocations: 16.89 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.006329, allocations: 109.8 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.006355, allocations: 12.36 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.006373, allocations: 4.375 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.006611, allocations: 66.17 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006621, allocations: 192 / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006633, allocations: 384 / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.006646, allocations: 4.125 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.006834, allocations: 43.95 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.007523, allocations: 264.4 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.007771, allocations: 50.55 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.007872, allocations: 24.97 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.007907, allocations: 11.92 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.008134, allocations: 71.44 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.008135, allocations: 7.938 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0005802/0.008716, allocations: 129.6 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.008767, allocations: 55.41 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008912, allocations: 129.8 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.008941, allocations: 25.7 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.00901, allocations: 92.12 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.009033, allocations: 19.83 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.009087, allocations: 37.64 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000303/0.00939, allocations: 314.8 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.009506, allocations: 31.97 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.009651, allocations: 77.92 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.009929, allocations: 105.9 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009932, allocations: 0 / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003235/0.01026, allocations: 133.4 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01027, allocations: 8 kB / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.01028, allocations: 4.156 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.0103, allocations: 8 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01044, allocations: 23.97 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01045, allocations: 4 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.01053, allocations: 11.89 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01055, allocations: 7.984 kB / 0.6228 GB, free: 16 kB / 0.5294 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.0001248/0.01068, allocations: 126.8 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.01069, allocations: 7.891 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.01072, allocations: 8.438 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01072, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01073, allocations: 4 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01073, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.01125, allocations: 318.1 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01125, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.01131, allocations: 7.984 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01131, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01132, allocations: 4 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01133, allocations: 4 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01133, allocations: 4 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.01165, allocations: 203.4 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.01166, allocations: 11.83 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01168, allocations: 8 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.01177, allocations: 7.984 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.01182, allocations: 7.922 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01183, allocations: 4 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.01189, allocations: 94.11 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01189, allocations: 0 / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003394/0.01223, allocations: 20 kB / 0.6236 GB, free: 15.13 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.0001772/0.01241, allocations: 99.25 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.0127, allocations: 75.88 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0127, allocations: 0 / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.01282, allocations: 40.34 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01309, allocations: 17.75 kB / 0.6238 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.01349, allocations: 165.5 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.01357, allocations: 79.08 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.01361, allocations: 4 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.01364, allocations: 16.48 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.01364, allocations: 0 / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of Templates: time 0.004231/0.01787, allocations: 1.017 MB / 0.6251 GB, free: 13.62 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.895423673093319] Failed to read output from testmodel.py, exit status != 0: 0.026839546859264374 0.044584595000000005 0.035560088000000004 Calling exit ...