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.001004/0.001004, allocations: 92.22 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.0009865/0.0009865, allocations: 173 kB / 23.02 MB, free: 1.547 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.038/1.038, 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.8123/0.8123, allocations: 154.9 MB / 414.8 MB, free: 416 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 3.136e-06/3.136e-06, allocations: 0 / 0.5207 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.351e-05, allocations: 4.828 kB / 0.5207 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001487/0.001521, allocations: 0.6786 MB / 0.5213 GB, free: 64 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.002841, allocations: 1.257 MB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.002884, allocations: 0 / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.002918, allocations: 4.688 kB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.002992, allocations: 16.89 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.003575, allocations: 208.4 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.00377, allocations: 180.4 kB / 0.523 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.003858, allocations: 15.98 kB / 0.523 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.003977, allocations: 96.89 kB / 0.5231 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004091, allocations: 59.83 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.004121, allocations: 17.75 kB / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.004186, allocations: 20 kB / 0.5232 GB, free: 14.19 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.004212, allocations: 11.98 kB / 0.5232 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.004278, allocations: 59.83 kB / 0.5232 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.004471, allocations: 139.7 kB / 0.5234 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004474, allocations: 0.5 kB / 0.5234 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004474, allocations: 4.969 kB / 0.5234 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.00448, allocations: 0 / 0.5234 GB, free: 13.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004783/0.004958, allocations: 463.8 kB / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004996, allocations: 9.25 kB / 0.5238 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.005057, allocations: 16.89 kB / 0.5238 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.005147, allocations: 116.5 kB / 0.524 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.005171, allocations: 8.984 kB / 0.524 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.005194, allocations: 12.38 kB / 0.524 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005319, allocations: 60.56 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.00533, allocations: 3.938 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005341, allocations: 0 / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.005352, allocations: 0 / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.005375, allocations: 9.031 kB / 0.524 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.006085, allocations: 331.7 kB / 0.5244 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.577e-05/0.006181, allocations: 39.97 kB / 0.5244 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.006209, allocations: 15.67 kB / 0.5244 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-06/0.006214, allocations: 0 / 0.5244 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.006335, allocations: 94.12 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006336, allocations: 4 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002365/0.006573, allocations: 118.3 kB / 0.5246 GB, free: 12.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.006613, allocations: 55.41 kB / 0.5247 GB, free: 12.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.006705, allocations: 178.4 kB / 0.5248 GB, free: 12.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.006732, allocations: 33.7 kB / 0.5249 GB, free: 12.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.006793, allocations: 140 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.00681, allocations: 19.86 kB / 0.525 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.00688, allocations: 59.92 kB / 0.5251 GB, free: 12.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006992, allocations: 496.6 kB / 0.5256 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.007108, allocations: 119.3 kB / 0.5257 GB, free: 11.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.00724, allocations: 189.3 kB / 0.5258 GB, free: 11.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.007386, allocations: 184.2 kB / 0.526 GB, free: 10.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.007391, allocations: 7.938 kB / 0.526 GB, free: 10.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003277/0.007719, allocations: 341.2 kB / 0.5264 GB, free: 10.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.007762, allocations: 67.39 kB / 0.5264 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007768, allocations: 3.984 kB / 0.5264 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.007784, allocations: 4.5 kB / 0.5264 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.007836, allocations: 8.547 kB / 0.5264 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.007843, allocations: 4 kB / 0.5264 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.008, allocations: 38.44 kB / 0.5265 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.008024, allocations: 19.98 kB / 0.5265 GB, free: 10.44 MB / 458.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 0.0001071/0.008131, allocations: 173.2 kB / 0.5267 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.008148, allocations: 13.56 kB / 0.5267 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.008172, allocations: 12.44 kB / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008174, allocations: 0 / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.008179, allocations: 0 / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.008184, allocations: 0 / 0.5267 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.008428, allocations: 350.7 kB / 0.527 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008429, allocations: 0 / 0.527 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.008437, allocations: 4 kB / 0.527 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.00844, allocations: 2.75 kB / 0.527 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008448, allocations: 3.984 kB / 0.527 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00845, allocations: 0 / 0.527 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008452, allocations: 8 kB / 0.527 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.008593, allocations: 243.8 kB / 0.5273 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.008602, allocations: 8.047 kB / 0.5273 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008616, allocations: 0 / 0.5273 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.008651, allocations: 11.97 kB / 0.5273 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.008684, allocations: 6.281 kB / 0.5273 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.008698, allocations: 11.92 kB / 0.5273 GB, free: 9.547 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.008744, allocations: 139.1 kB / 0.5274 GB, free: 9.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008745, allocations: 0 / 0.5274 GB, free: 9.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.008945, allocations: 35.94 kB / 0.5275 GB, free: 9.375 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: 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.0001332/0.009079, allocations: 101.9 kB / 0.5276 GB, free: 9.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.009356, allocations: 291.3 kB / 0.5279 GB, free: 8.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.009358, allocations: 0 / 0.5279 GB, free: 8.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.009399, allocations: 35.61 kB / 0.5279 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.009625, allocations: 20.11 kB / 0.5279 GB, free: 8.891 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.009927, allocations: 166.6 kB / 0.5281 GB, free: 8.699 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.009967, allocations: 63.2 kB / 0.5281 GB, free: 8.617 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.009993, allocations: 12.67 kB / 0.5281 GB, free: 8.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.01001, allocations: 12.5 kB / 0.5281 GB, free: 8.594 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01001, allocations: 2.938 kB / 0.5281 GB, free: 8.594 MB / 458.7 MB Notification: Performance of Templates: time 0.004311/0.01433, allocations: 2.313 MB / 0.5304 GB, free: 6.426 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.754702323116362]