Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 340 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.002045/0.002045, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.331/1.331, allocations: 154.8 MB / 414.3 MB, free: 488 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 0 / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.666e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00283/0.002867, allocations: 0.7289 MB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004734, allocations: 1.101 MB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.004794, allocations: 0 / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.004828, allocations: 4.438 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.004928, allocations: 16.83 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.005279, allocations: 51.77 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.005438, allocations: 77.17 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.005565, allocations: 16.17 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.005685, allocations: 35.97 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.005753, allocations: 31.89 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.005776, allocations: 4.625 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.005846, allocations: 20.73 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.005878, allocations: 19.92 kB / 0.5219 GB, free: 148 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.005924, allocations: 17.73 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.00613, allocations: 83.73 kB / 0.522 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.006135, allocations: 0 / 0.522 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.006139, allocations: 3.984 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.006146, allocations: 0 / 0.522 GB, free: 44 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.000725/0.006871, allocations: 400.7 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.006915, allocations: 13.03 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.006981, allocations: 8.891 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.007149, allocations: 124.4 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.007176, allocations: 13.75 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.007194, allocations: 4.375 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.007402, allocations: 58.23 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.007422, allocations: 0.9688 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.007435, allocations: 4.312 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.007445, allocations: 9.375 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.007576, allocations: 31.98 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.008304, allocations: 322.3 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.008495, allocations: 55.08 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.008577, allocations: 27.8 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.008611, allocations: 7.938 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.008788, allocations: 73.05 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.00879, allocations: 0.5 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.009181, allocations: 119 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.009231, allocations: 51.41 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.009412, allocations: 189.9 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.009439, allocations: 30.67 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.009537, allocations: 142.8 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.009563, allocations: 20.78 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.009632, allocations: 35.36 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.009897, allocations: 0.4923 MB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.009987, allocations: 24.92 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01013, allocations: 89.8 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.01037, allocations: 124.7 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01038, allocations: 1.812 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003064/0.01068, allocations: 123.1 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.0107, allocations: 4 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.01071, allocations: 4 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01073, allocations: 0 / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01087, allocations: 28.8 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01088, allocations: 320 / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.01095, allocations: 10.64 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.01097, allocations: 11.98 kB / 0.5246 GB, free: 13.18 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.0001518/0.01112, allocations: 166.9 kB / 0.5247 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.01115, allocations: 15.89 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.01118, allocations: 4.438 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01119, allocations: 4 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01119, allocations: 0 / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01119, allocations: 3.125 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.01175, allocations: 369.3 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01175, allocations: 3.938 kB / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.01179, allocations: 4 kB / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.0118, allocations: 7.984 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01182, allocations: 4 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01182, allocations: 0 / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01182, allocations: 1.781 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.01221, allocations: 251.8 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.01222, allocations: 3.953 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01224, allocations: 0 / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.01231, allocations: 10.17 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.01237, allocations: 4 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01238, allocations: 3.984 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001103/0.01249, allocations: 145.8 kB / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01249, allocations: 0 / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002686/0.01275, allocations: 15.98 kB / 0.5256 GB, free: 12.12 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.0002598/0.01301, allocations: 105.9 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.01333, allocations: 75.58 kB / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.01333, allocations: 4 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01345, allocations: 41.06 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.01377, allocations: 18 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.01434, allocations: 167.4 kB / 0.5259 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01446, allocations: 77.42 kB / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.0145, allocations: 7.984 kB / 0.526 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.01455, allocations: 16.5 kB / 0.526 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01455, allocations: 0.5938 kB / 0.526 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.004776/0.01932, allocations: 1.025 MB / 0.527 GB, free: 10.61 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.193375661969185]