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.0008809/0.0008809, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001004/0.001004, allocations: 173 kB / 23.5 MB, free: 1.059 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.9407/0.9407, allocations: 177.1 MB / 203.8 MB, free: 5.285 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.8077/0.8077, allocations: 154.8 MB / 415.1 MB, free: 428 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 3.617e-06/3.617e-06, allocations: 0 / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.928e-05, allocations: 9.844 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002164/0.002203, allocations: 0.716 MB / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.003588, allocations: 1.239 MB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.003652, allocations: 4 kB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.003687, allocations: 4.844 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.003787, allocations: 7.875 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.004305, allocations: 149.1 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004474, allocations: 123.7 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004583, allocations: 13.36 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.004709, allocations: 63.94 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.004788, allocations: 31.89 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.004816, allocations: 12.56 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.004882, allocations: 27.97 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.004905, allocations: 13.42 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.004958, allocations: 35.91 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.005121, allocations: 99.75 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005124, allocations: 3.938 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005126, allocations: 0.6875 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.005131, allocations: 0 / 0.523 GB, free: 15.76 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.0005067/0.005638, allocations: 427.4 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005677, allocations: 12.03 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.005809, allocations: 16.89 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.00591, allocations: 113.3 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.005927, allocations: 4.375 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.005945, allocations: 8.938 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.006094, allocations: 67.83 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006104, allocations: 192 / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.006118, allocations: 5.328 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006128, allocations: 4.375 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.006172, allocations: 23.84 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.006609, allocations: 298.3 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.006693, allocations: 39.06 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.006719, allocations: 15.77 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.006742, allocations: 0 / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.006856, allocations: 88.86 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.006857, allocations: 1.5 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002079/0.007064, allocations: 89.97 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.0071, allocations: 51.41 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.007194, allocations: 185.8 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.007214, allocations: 30.23 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.00727, allocations: 139.9 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.007287, allocations: 11.91 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.007338, allocations: 39.36 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.007452, allocations: 0.4895 MB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.007528, allocations: 61.69 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.007608, allocations: 107.8 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.007712, allocations: 106 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.007716, allocations: 4 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002145/0.00793, allocations: 202.5 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.007967, allocations: 37.69 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007972, allocations: 0 / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007986, allocations: 3.938 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.008073, allocations: 13.2 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.008081, allocations: 8.062 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.008167, allocations: 32.56 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.008182, allocations: 7.984 kB / 0.5257 GB, free: 12.79 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 7.908e-05/0.008261, allocations: 161.8 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.008273, allocations: 11.94 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008412, allocations: 83.45 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008414, allocations: 0 / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008418, allocations: 4 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008421, allocations: 0 / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.008637, allocations: 330.2 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00864, allocations: 0 / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.008678, allocations: 14.69 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.008681, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.008689, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00869, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.008691, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.008819, allocations: 227.8 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.008826, allocations: 3.953 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.008845, allocations: 14.83 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.008882, allocations: 0 / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.008921, allocations: 7.984 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.008927, allocations: 4 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.008969, allocations: 131.2 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008969, allocations: 0 / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001672/0.009137, allocations: 23.94 kB / 0.5266 GB, free: 11.73 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 0.0001332/0.00927, allocations: 112.6 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.009468, allocations: 156.7 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.00947, allocations: 0.5 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.009507, allocations: 27.67 kB / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.009719, allocations: 16.95 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.01022, allocations: 173.9 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.01025, allocations: 55.36 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.01028, allocations: 7.938 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.0103, allocations: 20.48 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.0103, allocations: 0 / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.00334/0.01364, allocations: 1.515 MB / 0.5287 GB, free: 9.668 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.911270660813898]