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.0008808/0.0008808, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009063/0.0009063, allocations: 165 kB / 23.27 MB, free: 1.219 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.887/0.887, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7457/0.7457, allocations: 154.9 MB / 415.1 MB, free: 272 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.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 1.713e-06/1.713e-06, allocations: 0 / 0.5211 GB, free: 468 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.07e-05, allocations: 2.312 kB / 0.5211 GB, free: 464 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001312/0.001333, allocations: 0.7434 MB / 0.5218 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002527, allocations: 1.213 MB / 0.523 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.002569, allocations: 4.547 kB / 0.523 GB, free: 14.51 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.002597, allocations: 7.922 kB / 0.523 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.586e-05/0.002663, allocations: 14.62 kB / 0.523 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.003003, allocations: 135.6 kB / 0.5232 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003124, allocations: 123.7 kB / 0.5233 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.003205, allocations: 21.23 kB / 0.5233 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003306, allocations: 71.92 kB / 0.5234 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.003374, allocations: 35.89 kB / 0.5234 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.003394, allocations: 12.5 kB / 0.5234 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.003452, allocations: 40.78 kB / 0.5235 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003472, allocations: 15.92 kB / 0.5235 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.003507, allocations: 27.98 kB / 0.5235 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003637, allocations: 108.6 kB / 0.5236 GB, free: 13.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003639, allocations: 0 / 0.5236 GB, free: 13.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00364, allocations: 0.625 kB / 0.5236 GB, free: 13.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003643, allocations: 0 / 0.5236 GB, free: 13.91 MB / 458.7 MB 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.0003606/0.004004, allocations: 439.1 kB / 0.524 GB, free: 13.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.004035, allocations: 12.03 kB / 0.524 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.004118, allocations: 25.52 kB / 0.5241 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.062e-05/0.004179, allocations: 116.5 kB / 0.5242 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.00419, allocations: 6.062 kB / 0.5242 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.004204, allocations: 12.38 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.167e-05/0.004296, allocations: 70.92 kB / 0.5243 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.004301, allocations: 192 / 0.5243 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004307, allocations: 2.031 kB / 0.5243 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004312, allocations: 8.125 kB / 0.5243 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.004335, allocations: 11.92 kB / 0.5243 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004621, allocations: 300.3 kB / 0.5246 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.004683, allocations: 43.83 kB / 0.5246 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.004701, allocations: 21.05 kB / 0.5246 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.004716, allocations: 4 kB / 0.5246 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.199e-05/0.004798, allocations: 82.16 kB / 0.5247 GB, free: 12.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.004799, allocations: 4 kB / 0.5247 GB, free: 12.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001441/0.004943, allocations: 93.56 kB / 0.5248 GB, free: 12.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.004971, allocations: 61.66 kB / 0.5249 GB, free: 12.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.005037, allocations: 173.9 kB / 0.525 GB, free: 12.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.005052, allocations: 25.7 kB / 0.525 GB, free: 12.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.005104, allocations: 146.8 kB / 0.5252 GB, free: 12.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.005119, allocations: 11.91 kB / 0.5252 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.005169, allocations: 51.33 kB / 0.5252 GB, free: 12.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.00527, allocations: 0.4901 MB / 0.5257 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.005322, allocations: 53.67 kB / 0.5258 GB, free: 11.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.005391, allocations: 115.8 kB / 0.5259 GB, free: 11.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/0.005485, allocations: 129.1 kB / 0.526 GB, free: 11.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005487, allocations: 0 / 0.526 GB, free: 11.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/0.005669, allocations: 206.7 kB / 0.5262 GB, free: 10.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.005695, allocations: 37.69 kB / 0.5262 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.005699, allocations: 5.031 kB / 0.5262 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.005707, allocations: 3.938 kB / 0.5263 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.005768, allocations: 15.98 kB / 0.5263 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.005771, allocations: 5.469 kB / 0.5263 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.005849, allocations: 31.81 kB / 0.5263 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.005861, allocations: 9.141 kB / 0.5263 GB, free: 10.86 MB / 458.7 MB 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 6.535e-05/0.005926, allocations: 166.1 kB / 0.5265 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.005938, allocations: 12.62 kB / 0.5265 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.006034, allocations: 82.42 kB / 0.5266 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006036, allocations: 2.906 kB / 0.5266 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006037, allocations: 0 / 0.5266 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006041, allocations: 7.922 kB / 0.5266 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.006205, allocations: 322.1 kB / 0.5269 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.006209, allocations: 7.922 kB / 0.5269 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.006236, allocations: 4 kB / 0.5269 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006238, allocations: 0 / 0.5269 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.006242, allocations: 7.031 kB / 0.5269 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006243, allocations: 0 / 0.5269 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.006245, allocations: 4 kB / 0.5269 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.006349, allocations: 239.8 kB / 0.5271 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.006358, allocations: 15.86 kB / 0.5271 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.006366, allocations: 0 / 0.5271 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.006403, allocations: 0 / 0.5271 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.006427, allocations: 7.984 kB / 0.5272 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.006432, allocations: 8 kB / 0.5272 GB, free: 9.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.006467, allocations: 131.8 kB / 0.5273 GB, free: 9.805 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006467, allocations: 0 / 0.5273 GB, free: 9.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.006628, allocations: 27.95 kB / 0.5273 GB, free: 9.777 MB / 458.7 MB 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 9.265e-05/0.006721, allocations: 110.3 kB / 0.5274 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.006858, allocations: 152.7 kB / 0.5276 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.00686, allocations: 0 / 0.5276 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.006887, allocations: 27.61 kB / 0.5276 GB, free: 9.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.007064, allocations: 30.23 kB / 0.5276 GB, free: 9.434 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.007427, allocations: 174.6 kB / 0.5278 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.00746, allocations: 63.2 kB / 0.5278 GB, free: 9.148 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.007481, allocations: 9.266 kB / 0.5279 GB, free: 9.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.007556, allocations: 94.19 kB / 0.5279 GB, free: 9.047 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007557, allocations: 0 / 0.5279 GB, free: 9.047 MB / 458.7 MB Notification: Performance of Templates: time 0.003163/0.01072, allocations: 1.698 MB / 0.5296 GB, free: 7.457 MB / 458.7 MB " [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: 3.372248007915914]