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.001737/0.001737, allocations: 88.72 kB / 19.44 MB, free: 356 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.002269/0.002269, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.236/1.236, allocations: 154.8 MB / 414.3 MB, free: 480 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 178] 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.374e-06/2.374e-06, allocations: 0 / 0.5199 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.24e-05, allocations: 4.281 kB / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002436/0.002469, allocations: 0.6655 MB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.004947, allocations: 1.224 MB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.004993, allocations: 0.5 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.00503, allocations: 5.719 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.005128, allocations: 19.86 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.006013, allocations: 209.1 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.006367, allocations: 179.7 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.006464, allocations: 8 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.006676, allocations: 99.86 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.006815, allocations: 57.45 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.006854, allocations: 16 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.006928, allocations: 23.94 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.006957, allocations: 15.92 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.007047, allocations: 52.7 kB / 0.5224 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.007336, allocations: 195.5 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007339, allocations: 1.469 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00734, allocations: 0 / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.007344, allocations: 0 / 0.5225 GB, free: 15.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005964/0.00794, allocations: 357.6 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.007974, allocations: 9.375 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.008053, allocations: 12.89 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.0082, allocations: 117.7 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.008227, allocations: 13.22 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.008261, allocations: 8.375 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.008388, allocations: 50.23 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.008408, allocations: 10.94 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.00842, allocations: 0 / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.008425, allocations: 3.938 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.008469, allocations: 15.98 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.008995, allocations: 260.5 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.009101, allocations: 46.44 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.009134, allocations: 16.94 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.009143, allocations: 0.5625 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.009589, allocations: 95.88 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.009591, allocations: 4.719 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003337/0.009924, allocations: 133.5 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.009979, allocations: 59.95 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.0101, allocations: 113.8 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.01014, allocations: 35.17 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.01024, allocations: 104.3 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.01026, allocations: 11.91 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.01039, allocations: 49.69 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.01057, allocations: 323.8 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.01076, allocations: 123.4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.011, allocations: 170.8 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.01126, allocations: 182.4 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.01126, allocations: 3.938 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006133/0.01188, allocations: 358.3 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.01195, allocations: 67.39 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01195, allocations: 4 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01197, allocations: 1.344 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.01202, allocations: 7.938 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01203, allocations: 4 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.01239, allocations: 62.73 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.01242, allocations: 15.98 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB 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.0001377/0.01256, allocations: 126.3 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.01259, allocations: 22.61 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.01262, allocations: 8.438 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01262, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01262, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01263, allocations: 4 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.01301, allocations: 302.1 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01301, allocations: 0 / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.01302, allocations: 4 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01302, allocations: 0.7188 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01304, allocations: 9.203 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01304, allocations: 3.984 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01304, allocations: 0 / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.01329, allocations: 203.4 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.0133, allocations: 4.609 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.01333, allocations: 5.719 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.01338, allocations: 3.984 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.01343, allocations: 8 kB / 0.526 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.01344, allocations: 7.984 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.01351, allocations: 90.34 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01351, allocations: 2.438 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002905/0.0138, allocations: 35.92 kB / 0.5261 GB, free: 11.63 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: 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.0001878/0.01399, allocations: 104.9 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.01446, allocations: 292.6 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01446, allocations: 0 / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.01452, allocations: 27.92 kB / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01484, allocations: 30.11 kB / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01525, allocations: 169.8 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.01533, allocations: 68.31 kB / 0.5267 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.01537, allocations: 12.72 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.01539, allocations: 14.06 kB / 0.5268 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.0154, allocations: 0 / 0.5268 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.005743/0.02114, allocations: 2.13 MB / 0.5288 GB, free: 8.844 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.883443834958598]