Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 276 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.001221/0.001221, allocations: 165 kB / 23.02 MB, free: 1.551 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.9961/0.9961, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8033/0.8033, allocations: 154.8 MB / 414.7 MB, free: 496 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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5205 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.635e-05, allocations: 2.312 kB / 0.5205 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001576/0.001602, allocations: 0.7291 MB / 0.5213 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.00275, allocations: 1.245 MB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.002785, allocations: 0.6875 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.002807, allocations: 4.594 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.00286, allocations: 15.91 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.003217, allocations: 145.1 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.003339, allocations: 115.6 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.003408, allocations: 8.938 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.003495, allocations: 67.88 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.003563, allocations: 41.3 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003581, allocations: 12 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.003634, allocations: 23.94 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.003654, allocations: 11.92 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.003697, allocations: 33.16 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.003833, allocations: 107.7 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.003835, allocations: 0 / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003835, allocations: 0.8125 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003839, allocations: 0 / 0.523 GB, free: 15.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003636/0.004203, allocations: 431.5 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.004233, allocations: 8.031 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.004319, allocations: 16.83 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/0.004387, allocations: 117.9 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004397, allocations: 4.375 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004412, allocations: 8.375 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.00451, allocations: 67.66 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004516, allocations: 192 / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004526, allocations: 4.375 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004531, allocations: 2.219 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.004564, allocations: 15.92 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.00484, allocations: 307.6 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.004907, allocations: 41.05 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.004929, allocations: 19.67 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.004942, allocations: 4 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.346e-05/0.005025, allocations: 89.06 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.005026, allocations: 0 / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001534/0.00518, allocations: 87.08 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.005205, allocations: 55.41 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.005275, allocations: 173.9 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.005293, allocations: 29.7 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.005339, allocations: 139.8 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.005355, allocations: 15.91 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.005401, allocations: 36.48 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005508, allocations: 0.4923 MB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.005575, allocations: 61.69 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.162e-05/0.005646, allocations: 97.17 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.005737, allocations: 108.9 kB / 0.5254 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005739, allocations: 4.906 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001938/0.005933, allocations: 210 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.005957, allocations: 33.7 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.00596, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005971, allocations: 4 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.00603, allocations: 12.48 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.006034, allocations: 1.781 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.528e-05/0.006119, allocations: 31.88 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.006132, allocations: 11.98 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.885e-05/0.006201, allocations: 166.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.006212, allocations: 7.938 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.006319, allocations: 86.09 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.00632, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.006322, allocations: 1.625 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006326, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.006492, allocations: 329.3 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006493, allocations: 3.938 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.006516, allocations: 6.438 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006518, allocations: 0 / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.006525, allocations: 3.984 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006525, allocations: 4 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006526, allocations: 0 / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.006637, allocations: 223.8 kB / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006646, allocations: 11.95 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006658, allocations: 2.625 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.006693, allocations: 7.938 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.006717, allocations: 3.984 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.006722, allocations: 4 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.006765, allocations: 135.2 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006765, allocations: 0 / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001585/0.006923, allocations: 24 kB / 0.5266 GB, free: 11.41 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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 9.593e-05/0.007019, allocations: 101.2 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.007186, allocations: 160.7 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.32e-07/0.007187, allocations: 2.906 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.007219, allocations: 27.67 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.007388, allocations: 22.53 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.007763, allocations: 164.7 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.007794, allocations: 55.36 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.007812, allocations: 7.984 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.007835, allocations: 16.5 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.007835, allocations: 0 / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.0028/0.01064, allocations: 1.523 MB / 0.5287 GB, free: 9.363 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.992097140289843]