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.001358/0.001358, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001551/0.001551, allocations: 166.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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-531:190: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-531:198: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.212/1.212, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 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.214e-06/2.214e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.927e-05, allocations: 5.453 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001669/0.001698, allocations: 0.6588 MB / 0.6192 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.003452, allocations: 1.226 MB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.003493, allocations: 0 / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.003538, allocations: 9.172 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.003608, allocations: 11.92 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.00432, allocations: 222.9 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.004571, allocations: 179.7 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.004659, allocations: 7.984 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.00482, allocations: 103.9 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.004944, allocations: 43.92 kB / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.004987, allocations: 16 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.00507, allocations: 36.47 kB / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.005096, allocations: 11.92 kB / 0.621 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.005185, allocations: 52.67 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.005465, allocations: 191.5 kB / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005468, allocations: 1.812 kB / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.72e-07/0.005469, allocations: 0 / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.005473, allocations: 0 / 0.6212 GB, free: 1.898 MB / 0.5294 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.0005778/0.00605, allocations: 365.5 kB / 0.6216 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.006087, allocations: 13.41 kB / 0.6216 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.00615, allocations: 16.89 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006285, allocations: 113.7 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.00631, allocations: 4.375 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.006348, allocations: 12.38 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.00647, allocations: 54.23 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006481, allocations: 3.938 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.006492, allocations: 0 / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.006495, allocations: 3.938 kB / 0.6218 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.006537, allocations: 15.98 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.007044, allocations: 276.5 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.007156, allocations: 38.5 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.007188, allocations: 16.86 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.007199, allocations: 3.984 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.007392, allocations: 91.34 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.007393, allocations: 0 / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003202/0.007713, allocations: 137.5 kB / 0.6223 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.007755, allocations: 51.41 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.007873, allocations: 124.5 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.007912, allocations: 33.7 kB / 0.6225 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.007987, allocations: 88.38 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.008011, allocations: 27.84 kB / 0.6226 GB, free: 280 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.008116, allocations: 53.67 kB / 0.6227 GB, free: 220 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.008286, allocations: 318.8 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.008469, allocations: 123.4 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.008692, allocations: 173.3 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.008931, allocations: 173.3 kB / 0.6235 GB, free: 15.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.008936, allocations: 11.94 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005436/0.00948, allocations: 348.5 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.009541, allocations: 67.39 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009546, allocations: 0 / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.009563, allocations: 4 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.009618, allocations: 15.92 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.009625, allocations: 4 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.00998, allocations: 60.03 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.01001, allocations: 11.98 kB / 0.624 GB, free: 14.8 MB / 0.545 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.0001299/0.01014, allocations: 130.7 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.01016, allocations: 7.953 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.01019, allocations: 8.438 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01019, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.0102, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0102, allocations: 0 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.01054, allocations: 306.1 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01054, allocations: 0 / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.01055, allocations: 7.984 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01055, allocations: 3.938 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01056, allocations: 0 / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01056, allocations: 0 / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01057, allocations: 0 / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.01078, allocations: 203.4 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.01079, allocations: 7.953 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.01081, allocations: 3.984 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01087, allocations: 0 / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.01091, allocations: 15.98 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.01093, allocations: 4 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.01098, allocations: 95.2 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01098, allocations: 0 / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003068/0.01129, allocations: 32 kB / 0.6247 GB, free: 13.93 MB / 0.545 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.0001787/0.01147, allocations: 111.2 kB / 0.6248 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.01189, allocations: 286.2 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01189, allocations: 4.312 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.01195, allocations: 31.92 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01225, allocations: 22.58 kB / 0.6252 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.01264, allocations: 167.7 kB / 0.6253 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.01271, allocations: 67.34 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.01275, allocations: 12.72 kB / 0.6254 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.01278, allocations: 24.44 kB / 0.6254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.01278, allocations: 0 / 0.6254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Templates: time 0.005191/0.01797, allocations: 2.1 MB / 0.6275 GB, free: 11.09 MB / 0.545 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.8420812748372555] Failed to read output from testmodel.py, exit status != 0: 0.026487227529287338 0.041184568000000005 0.032747773 Calling exit ...