Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.002377/0.002377, allocations: 93.47 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.002721/0.002721, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.625/1.625, 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.356/1.356, allocations: 154.8 MB / 414.4 MB, free: 460 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.348e-05, allocations: 7 kB / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002052/0.002085, allocations: 0.7391 MB / 0.5206 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.004228, allocations: 1.198 MB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.004283, allocations: 1.031 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.004316, allocations: 7.875 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.004409, allocations: 13.12 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.00495, allocations: 145.3 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.005163, allocations: 123.7 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005271, allocations: 16.17 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005416, allocations: 67.88 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.005537, allocations: 43.88 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.005571, allocations: 9.812 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.00566, allocations: 35.91 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.005689, allocations: 8 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.005765, allocations: 39.89 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.006042, allocations: 147.6 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.006045, allocations: 1.656 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006047, allocations: 0 / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.006052, allocations: 0 / 0.5224 GB, free: 15.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006825/0.006735, allocations: 437.7 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.006775, allocations: 12.78 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.006921, allocations: 20.83 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.007049, allocations: 116.8 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.00707, allocations: 8.359 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.007096, allocations: 12.38 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.00728, allocations: 67.52 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.007289, allocations: 192 / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.0073, allocations: 384 / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.007308, allocations: 12.06 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.00745, allocations: 37.22 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.008031, allocations: 331.5 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.008209, allocations: 65.8 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.008297, allocations: 31.73 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.008322, allocations: 0 / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.008524, allocations: 85.03 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.008525, allocations: 96 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004437/0.008969, allocations: 143.1 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.009024, allocations: 51.41 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.009189, allocations: 185.9 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.009228, allocations: 35.33 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.009337, allocations: 142.8 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.009371, allocations: 23.83 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.009463, allocations: 43.36 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002908/0.009754, allocations: 0.4971 MB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.009924, allocations: 81.67 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.01015, allocations: 147.9 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.01043, allocations: 160.9 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01043, allocations: 3.25 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005062/0.01094, allocations: 256.8 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.01099, allocations: 36.03 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.011, allocations: 4 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01101, allocations: 48 / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01113, allocations: 26.69 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.01113, allocations: 4 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.01132, allocations: 31.94 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.01134, allocations: 7.984 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001409/0.01148, allocations: 164.6 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.01151, allocations: 25.23 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.0118, allocations: 114 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0118, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.0118, allocations: 0.5 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01181, allocations: 2.094 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.01227, allocations: 369.8 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01227, allocations: 0 / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.01232, allocations: 8 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01233, allocations: 3.938 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01234, allocations: 10.42 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01234, allocations: 0 / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01234, allocations: 80 / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.0127, allocations: 267.8 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.01271, allocations: 7.938 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01273, allocations: 4 kB / 0.5263 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.0128, allocations: 2.156 kB / 0.5263 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.01285, allocations: 7.984 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01286, allocations: 4 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.01296, allocations: 139.2 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01296, allocations: 0 / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002712/0.01323, allocations: 23.95 kB / 0.5264 GB, free: 11.2 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001754/0.01341, allocations: 112.2 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.01384, allocations: 210.3 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01384, allocations: 4 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01395, allocations: 38.11 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01424, allocations: 22.66 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.0147, allocations: 186.4 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.01478, allocations: 70.22 kB / 0.5271 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.01482, allocations: 7.984 kB / 0.5271 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.01485, allocations: 12.5 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.01485, allocations: 3.938 kB / 0.5271 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.005382/0.02023, allocations: 1.566 MB / 0.5286 GB, free: 9.012 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.153888743952848]