Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0009296/0.0009296, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001167/0.001167, allocations: 177 kB / 23.36 MB, free: 1.133 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8009/0.8009, allocations: 154.9 MB / 415.1 MB, free: 224 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.919e-05, allocations: 2.312 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001876/0.001906, allocations: 0.6718 MB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.003543, allocations: 1.265 MB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.003587, allocations: 7.406 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.003618, allocations: 3.938 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.003706, allocations: 9.234 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.004564, allocations: 219.4 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.004809, allocations: 185.3 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.00489, allocations: 4.906 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.005036, allocations: 97.98 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005168, allocations: 61.59 kB / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.005202, allocations: 17.88 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.005274, allocations: 28.48 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.005301, allocations: 11.92 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.00537, allocations: 55.94 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.005564, allocations: 131.7 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.005567, allocations: 0.875 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005568, allocations: 3.938 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005571, allocations: 4.875 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004033/0.005975, allocations: 331.3 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.006013, allocations: 8.906 kB / 483.5 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.006061, allocations: 16.92 kB / 483.5 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.00615, allocations: 114.3 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.006172, allocations: 9.062 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.006203, allocations: 13.19 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.006292, allocations: 54.94 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006301, allocations: 4.438 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.006308, allocations: 0 / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.006316, allocations: 11.22 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.006334, allocations: 7.938 kB / 483.7 MB, free: 3.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.006668, allocations: 188.3 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.006745, allocations: 31.62 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.006761, allocations: 8.859 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.006764, allocations: 1.156 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.006877, allocations: 91.3 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.006878, allocations: 0.6562 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001685/0.007047, allocations: 81.59 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.007082, allocations: 56.97 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.007163, allocations: 124.5 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.007192, allocations: 33.7 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.007242, allocations: 92.36 kB / 484.4 MB, free: 2.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.00726, allocations: 21.17 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-05/0.007342, allocations: 45.67 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.007431, allocations: 322.8 kB / 484.8 MB, free: 2.062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.007535, allocations: 95.38 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.007664, allocations: 146 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.007817, allocations: 163 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.007821, allocations: 4.891 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00029/0.008111, allocations: 273.4 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.008161, allocations: 67.39 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.008167, allocations: 4.625 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.008181, allocations: 4 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.008224, allocations: 8.609 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.008228, allocations: 0.625 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.008414, allocations: 41.14 kB / 485.5 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.008442, allocations: 15.98 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 8.649e-05/0.008528, allocations: 122.5 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.008549, allocations: 17.64 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.008575, allocations: 16.44 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008578, allocations: 0 / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.00858, allocations: 1.031 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008584, allocations: 1.406 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.008786, allocations: 222.7 kB / 485.9 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.008791, allocations: 3.938 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.008801, allocations: 7.984 kB / 485.9 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008803, allocations: 0.6875 kB / 485.9 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00881, allocations: 4 kB / 485.9 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008812, allocations: 0.6562 kB / 485.9 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.008814, allocations: 0 / 485.9 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.008926, allocations: 156.9 kB / 486.1 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.008937, allocations: 11.89 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008953, allocations: 3.984 kB / 486.1 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.009006, allocations: 4.812 kB / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.009034, allocations: 7.984 kB / 486.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.009045, allocations: 1.078 kB / 486.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.009068, allocations: 25.91 kB / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009068, allocations: 0 / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.009344, allocations: 36 kB / 486.2 MB, free: 480 kB / 442.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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001377/0.009482, allocations: 88.34 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.009741, allocations: 263.5 kB / 486.5 MB, free: 84 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.009744, allocations: 0 / 486.5 MB, free: 84 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.009781, allocations: 26.7 kB / 486.6 MB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01001, allocations: 24.66 kB / 486.6 MB, free: 32 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.01031, allocations: 154.4 kB / 486.7 MB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01035, allocations: 55.36 kB / 486.8 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.01038, allocations: 9.562 kB / 486.8 MB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.01052, allocations: 83.28 kB / 486.9 MB, free: 15.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01052, allocations: 1.156 kB / 486.9 MB, free: 15.69 MB / 458.7 MB Notification: Performance of Templates: time 0.004856/0.01537, allocations: 2.301 MB / 489.2 MB, free: 13.55 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.803073527291417]