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.001316/0.001316, allocations: 92.7 kB / 19.44 MB, free: 324 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.001583/0.001583, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-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 1.265/1.265, allocations: 154.8 MB / 414.3 MB, free: 456 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 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.024e-06/2.024e-06, allocations: 0 / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.263e-05, allocations: 4.547 kB / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001903/0.001936, allocations: 0.7303 MB / 0.5206 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.003564, allocations: 1.089 MB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.003608, allocations: 0 / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.00364, allocations: 4.906 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.268e-05/0.003733, allocations: 24.06 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.004021, allocations: 49.33 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.004145, allocations: 67.78 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.004252, allocations: 28.09 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.00436, allocations: 31.97 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.004422, allocations: 32.45 kB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.004442, allocations: 4.75 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.004501, allocations: 19.98 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.00453, allocations: 16.48 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.004572, allocations: 19.98 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.004742, allocations: 88.33 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004745, allocations: 0 / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004745, allocations: 1.219 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.004749, allocations: 0 / 0.522 GB, free: 136 kB / 490.7 MB 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.0005874/0.005337, allocations: 306.7 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005374, allocations: 8.031 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.005425, allocations: 10.7 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005548, allocations: 113.8 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.005563, allocations: 4.375 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.005578, allocations: 12.25 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.005786, allocations: 67.84 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005795, allocations: 192 / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005807, allocations: 4.375 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.005816, allocations: 8.125 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.006, allocations: 41.23 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.006639, allocations: 261 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.006828, allocations: 55.3 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006939, allocations: 30.44 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.006967, allocations: 7.938 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.007207, allocations: 80.66 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.007208, allocations: 0 / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000465/0.007673, allocations: 133.2 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.007727, allocations: 55.41 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.007853, allocations: 119.6 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.007883, allocations: 29.7 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.007953, allocations: 88.14 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.007984, allocations: 23.83 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.008041, allocations: 25.72 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.008238, allocations: 322.8 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.008357, allocations: 32.97 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.008512, allocations: 70.52 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.008779, allocations: 108.9 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008781, allocations: 2.156 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003518/0.009133, allocations: 140.1 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.009148, allocations: 6.344 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.009157, allocations: 7.938 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.009174, allocations: 0 / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.009299, allocations: 15.98 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.009309, allocations: 11.92 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.0094, allocations: 17.39 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.009413, allocations: 8 kB / 0.5241 GB, free: 13.76 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 0.0001121/0.009525, allocations: 121.8 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.009547, allocations: 12.83 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.009574, allocations: 12.44 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009576, allocations: 0 / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00958, allocations: 0.9375 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.009582, allocations: 0 / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.0101, allocations: 319.6 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01011, allocations: 4 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.01016, allocations: 10.7 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01017, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.01017, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01018, allocations: 4 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01018, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.01053, allocations: 211.7 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.01054, allocations: 15.02 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01056, allocations: 4 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.01065, allocations: 7.984 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.01069, allocations: 3.984 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01069, allocations: 4 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.01076, allocations: 94 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01076, allocations: 0 / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002712/0.01103, allocations: 20 kB / 0.525 GB, free: 12.88 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.0001571/0.01119, allocations: 97.06 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.01148, allocations: 83.16 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01148, allocations: 0 / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01161, allocations: 35.97 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01188, allocations: 20.38 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.01238, allocations: 172.5 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.01246, allocations: 71.33 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01249, allocations: 4 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.01253, allocations: 16.48 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01253, allocations: 4 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.00397/0.0165, allocations: 1.018 MB / 0.5264 GB, free: 11.41 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=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.8974561599316075]