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.0008751/0.0008751, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 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.0009825/0.0009825, allocations: 173 kB / 23.02 MB, free: 1.539 MB / 18.57 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.9837/0.9837, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.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-535:34: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-535:42: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.8447/0.8447, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 378.7 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 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.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 3.176e-06/3.176e-06, allocations: 0 / 0.5206 GB, free: 1.934 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.568e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.004809/0.004844, allocations: 0.7345 MB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.006194, allocations: 1.125 MB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.006248, allocations: 0 / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.006284, allocations: 9.5 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.006363, allocations: 11.86 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.006677, allocations: 59.75 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.006802, allocations: 67.91 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006918, allocations: 21.31 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.007016, allocations: 43.91 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.00707, allocations: 27.89 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.00709, allocations: 8.688 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.007149, allocations: 12 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.007176, allocations: 17.17 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.007219, allocations: 19.97 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.007378, allocations: 63.8 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007381, allocations: 1.406 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.007383, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.007388, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 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.0004918/0.00788, allocations: 396.4 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.007923, allocations: 8.812 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.007977, allocations: 16.89 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.008083, allocations: 121.3 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.008096, allocations: 4.312 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.00812, allocations: 11.16 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.008278, allocations: 66.94 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.008289, allocations: 192 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.0083, allocations: 384 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.00831, allocations: 4.125 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.013e-05/0.00835, allocations: 19.86 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.008854, allocations: 304.2 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.008961, allocations: 47.58 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.008989, allocations: 16.78 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.009014, allocations: 3.938 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.00912, allocations: 66.02 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.009121, allocations: 0 / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002181/0.009339, allocations: 86.55 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.00938, allocations: 55.34 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.00949, allocations: 185.3 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.009504, allocations: 25.7 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.009565, allocations: 143.3 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.009586, allocations: 15.89 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.00964, allocations: 40.39 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.009775, allocations: 0.4884 MB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.009809, allocations: 8.969 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.009875, allocations: 73.88 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.009979, allocations: 96.23 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009981, allocations: 0 / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001636/0.01014, allocations: 103.6 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01016, allocations: 7.938 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.01017, allocations: 9.297 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01019, allocations: 0 / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01032, allocations: 27.92 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01032, allocations: 0.75 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.01037, allocations: 7.984 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01039, allocations: 8.562 kB / 0.5251 GB, free: 13.04 MB / 0.4948 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 9.941e-05/0.01049, allocations: 167.6 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.01051, allocations: 15.89 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.01054, allocations: 5.531 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.01055, allocations: 3.984 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.01055, allocations: 7.938 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01056, allocations: 4.922 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.01082, allocations: 333.4 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01082, allocations: 0 / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.01085, allocations: 12.73 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01085, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01086, allocations: 10.75 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01086, allocations: 0 / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01086, allocations: 0 / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.01098, allocations: 219.9 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.01099, allocations: 7.953 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.011, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.01104, allocations: 8 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.01108, allocations: 6.828 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01108, allocations: 4 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.01113, allocations: 135.2 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001719/0.0113, allocations: 12 kB / 0.526 GB, free: 12.05 MB / 0.4948 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.0001392/0.01144, allocations: 115.1 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.01156, allocations: 47.75 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01156, allocations: 1.656 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.01159, allocations: 27.61 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01179, allocations: 17.44 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.01211, allocations: 171.6 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.01215, allocations: 63.34 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.01218, allocations: 8.641 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.0122, allocations: 13.16 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.0122, allocations: 0 / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.002968/0.01517, allocations: 1.025 MB / 0.5275 GB, free: 10.59 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.023065516259521]