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.00127/0.00127, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001235/0.001235, allocations: 169 kB / 23.27 MB, free: 1.227 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.9021/0.9021, allocations: 177.1 MB / 203.7 MB, free: 5.539 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.7523/0.7523, allocations: 154.9 MB / 415.1 MB, free: 276 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 1.563e-06/1.563e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.338e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001248/0.001262, allocations: 0.7381 MB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00237, allocations: 1.115 MB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.00242, allocations: 0.8438 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.002451, allocations: 7.922 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.002528, allocations: 16.67 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.002799, allocations: 52.67 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.002891, allocations: 83.7 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.00298, allocations: 12.17 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.003065, allocations: 33.41 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.003112, allocations: 31.89 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.003127, allocations: 4 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.479e-05/0.003182, allocations: 19.98 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003206, allocations: 16.7 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.003233, allocations: 23.97 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.00336, allocations: 64.52 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003362, allocations: 0 / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003362, allocations: 3.062 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003366, allocations: 0 / 0.5233 GB, free: 15.33 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.0004112/0.003777, allocations: 392.4 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.003817, allocations: 12.03 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.003853, allocations: 16.88 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004025, allocations: 120.5 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.004039, allocations: 4.375 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.00405, allocations: 8.375 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.004149, allocations: 63.38 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004158, allocations: 0.9375 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.004165, allocations: 4.375 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.004172, allocations: 8.969 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.004199, allocations: 11.97 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.004522, allocations: 289.2 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/0.004608, allocations: 40.03 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.004626, allocations: 15.67 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.004647, allocations: 4.656 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.106e-05/0.004728, allocations: 73.5 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.00473, allocations: 1.031 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.004919, allocations: 73.77 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.00496, allocations: 55.41 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.005052, allocations: 180 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005065, allocations: 29.7 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.005123, allocations: 146.8 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.00514, allocations: 16.52 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.005225, allocations: 31.36 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.005337, allocations: 0.4938 MB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.005358, allocations: 7.984 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.005404, allocations: 73.45 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.005478, allocations: 92.8 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005481, allocations: 0 / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001125/0.005593, allocations: 106.7 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005605, allocations: 4 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.005612, allocations: 4.781 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005624, allocations: 0 / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.005706, allocations: 20.67 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.00571, allocations: 5.5 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.005743, allocations: 11.98 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.005753, allocations: 4 kB / 0.5256 GB, free: 12.71 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 7.103e-05/0.005824, allocations: 165.8 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.005835, allocations: 11.89 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.00586, allocations: 8.438 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.005862, allocations: 3.984 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005864, allocations: 2.75 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005867, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.006071, allocations: 314 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006072, allocations: 0 / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.006095, allocations: 4 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.006098, allocations: 3.984 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.006104, allocations: 8 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006105, allocations: 2.375 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006106, allocations: 0 / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.006209, allocations: 228.1 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.006217, allocations: 3.953 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.006226, allocations: 4 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.006258, allocations: 7.984 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.006283, allocations: 8.703 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.006288, allocations: 4 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.006327, allocations: 132.1 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006327, allocations: 0 / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001619/0.006489, allocations: 16 kB / 0.5265 GB, free: 11.75 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.0001403/0.00663, allocations: 109.3 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.006738, allocations: 52.09 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.006739, allocations: 3.938 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.006766, allocations: 20.56 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.006941, allocations: 16.58 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.007191, allocations: 170.1 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007225, allocations: 59.34 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.007248, allocations: 4 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.007304, allocations: 82.19 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.007305, allocations: 0 / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002556/0.009861, allocations: 1.129 MB / 0.5281 GB, free: 10.15 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: 3.4352370533160865]