Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0007386/0.0007386, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001836, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006792/0.0006792, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008968/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9796/0.9796, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8119/0.8119, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3143/1.126, allocations: 49.13 MB / 448.6 MB, free: 5.91 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.087e-05, allocations: 3.188 kB / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00145/0.001471, allocations: 0.7734 MB / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.00269, allocations: 1.305 MB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.002754, allocations: 0 / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.002783, allocations: 12.67 kB / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.002843, allocations: 23.31 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.003325, allocations: 236.8 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.003597, allocations: 253.8 kB / 452.6 MB, free: 2.062 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.003678, allocations: 17.94 kB / 452.6 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.003839, allocations: 160.3 kB / 452.7 MB, free: 1.887 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.003978, allocations: 72.75 kB / 452.8 MB, free: 1.816 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.004009, allocations: 16 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.004093, allocations: 32.98 kB / 452.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.004121, allocations: 23.88 kB / 452.9 MB, free: 1.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.004179, allocations: 51.92 kB / 452.9 MB, free: 1.695 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.004362, allocations: 132.5 kB / 453.1 MB, free: 1.566 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.004373, allocations: 0 / 453.1 MB, free: 1.566 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004374, allocations: 1.875 kB / 453.1 MB, free: 1.566 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.004383, allocations: 4 kB / 453.1 MB, free: 1.562 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005317/0.004915, allocations: 427.3 kB / 453.5 MB, free: 1.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.004943, allocations: 8.594 kB / 453.5 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.004994, allocations: 32.89 kB / 453.5 MB, free: 1.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.005173, allocations: 143.8 kB / 453.7 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.005198, allocations: 19.36 kB / 453.7 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.00523, allocations: 16.38 kB / 453.7 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.005398, allocations: 128.5 kB / 453.8 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005407, allocations: 192 / 453.8 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.00542, allocations: 4.906 kB / 453.8 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.005427, allocations: 0.875 kB / 453.8 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.00548, allocations: 39.91 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.005913, allocations: 323.5 kB / 454.2 MB, free: 368 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.006047, allocations: 110.5 kB / 454.3 MB, free: 240 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.006085, allocations: 41.7 kB / 454.3 MB, free: 192 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.006093, allocations: 2.125 kB / 454.3 MB, free: 192 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.00631, allocations: 188.7 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.006311, allocations: 0 / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.000226/0.006537, allocations: 188.6 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.006577, allocations: 85.09 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.006649, allocations: 139.5 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.006677, allocations: 37.7 kB / 455 MB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.006723, allocations: 89.33 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.006759, allocations: 55.56 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.006833, allocations: 74.17 kB / 455.2 MB, free: 15.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.006915, allocations: 326.8 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.007009, allocations: 116.7 kB / 455.6 MB, free: 14.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.007117, allocations: 180.9 kB / 455.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.007275, allocations: 213.4 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.00728, allocations: 8.562 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002604/0.00754, allocations: 334.3 kB / 456.3 MB, free: 14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.007592, allocations: 64.2 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.007598, allocations: 4 kB / 456.4 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.007613, allocations: 1.781 kB / 456.4 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.007688, allocations: 27.98 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007692, allocations: 7.938 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.007851, allocations: 56.66 kB / 456.5 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.007873, allocations: 16.98 kB / 456.5 MB, free: 13.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001015/0.007975, allocations: 152.3 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.007997, allocations: 22.23 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.008032, allocations: 16.42 kB / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.008035, allocations: 4 kB / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.008037, allocations: 0.5625 kB / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.008042, allocations: 0 / 456.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.008315, allocations: 397.9 kB / 457.1 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008317, allocations: 0 / 457.1 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.008349, allocations: 15.92 kB / 457.1 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.008361, allocations: 12.47 kB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008363, allocations: 4.625 kB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.008373, allocations: 3.984 kB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.008376, allocations: 5.156 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008377, allocations: 0 / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.008554, allocations: 322.1 kB / 457.4 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.008578, allocations: 12.5 kB / 457.4 MB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.00866, allocations: 17.92 kB / 457.5 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.008708, allocations: 19.95 kB / 457.5 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.008719, allocations: 11.98 kB / 457.5 MB, free: 12.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.041e-05/0.00874, allocations: 20.84 kB / 457.5 MB, free: 12.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00874, allocations: 0 / 457.5 MB, free: 12.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.008945, allocations: 56.56 kB / 457.6 MB, free: 12.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001643/0.009109, allocations: 101.7 kB / 457.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.009393, allocations: 343.1 kB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.009399, allocations: 0.5 kB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.00948, allocations: 88.78 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.00976, allocations: 160.3 kB / 458.2 MB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01032, allocations: 267.2 kB / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01037, allocations: 71.86 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.756e-05/0.01042, allocations: 24.22 kB / 458.6 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.01053, allocations: 87.88 kB / 458.7 MB, free: 11.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01053, allocations: 0 / 458.7 MB, free: 11.48 MB / 442.7 MB Notification: Performance of Templates: time 0.00478/0.01531, allocations: 3.072 MB / 461.8 MB, free: 8.633 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6398382680490613]