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.001321/0.001321, allocations: 83.08 kB / 19.16 MB, free: 2.535 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.001406/0.001406, allocations: 165.5 kB / 22.44 MB, free: 5.34 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.409/1.409, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.191/1.191, allocations: 155 MB / 414.2 MB, free: 4.934 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.39 kB / 0.6192 GB, free: 4.156 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5191, allocations: 102 MB / 0.7187 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001733/0.5208, allocations: 0.6637 MB / 0.7194 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.5221, allocations: 1.232 MB / 0.7206 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.5221, allocations: 0 / 0.7206 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.5222, allocations: 4.734 kB / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.5222, allocations: 16.03 kB / 0.7206 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.5229, allocations: 226.2 kB / 0.7208 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.5231, allocations: 181.2 kB / 0.721 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.5232, allocations: 9.828 kB / 0.721 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.5233, allocations: 99.64 kB / 0.7211 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.5234, allocations: 56.53 kB / 0.7212 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.5235, allocations: 17 kB / 0.7212 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.5235, allocations: 29.12 kB / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.5236, allocations: 16.56 kB / 0.7212 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.5236, allocations: 53.33 kB / 0.7213 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.5239, allocations: 193.9 kB / 0.7215 GB, free: 72 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5239, allocations: 4 kB / 0.7215 GB, free: 68 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5239, allocations: 1.188 kB / 0.7215 GB, free: 68 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5239, allocations: 0 / 0.7215 GB, free: 68 kB / 0.6075 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.0005942/0.5245, allocations: 368.7 kB / 0.7218 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.5245, allocations: 10.66 kB / 0.7218 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.5246, allocations: 13.25 kB / 0.7218 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5247, allocations: 111.6 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5247, allocations: 10.03 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.5248, allocations: 13.22 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5249, allocations: 48.77 kB / 0.722 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5249, allocations: 0 / 0.722 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.5249, allocations: 8.656 kB / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5249, allocations: 5.469 kB / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.525, allocations: 13.5 kB / 0.722 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.5255, allocations: 272 kB / 0.7223 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.5256, allocations: 34.64 kB / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.5256, allocations: 12.78 kB / 0.7223 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-06/0.5256, allocations: 0 / 0.7223 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.5258, allocations: 98.89 kB / 0.7224 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.5258, allocations: 0 / 0.7224 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=9): time 0.0003043/0.5261, allocations: 129.6 kB / 0.7226 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5262, allocations: 58.03 kB / 0.7226 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5263, allocations: 122.8 kB / 0.7227 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.5263, allocations: 30.92 kB / 0.7228 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.5264, allocations: 94.23 kB / 0.7228 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.5264, allocations: 21.22 kB / 0.7229 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5265, allocations: 55.27 kB / 0.7229 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5267, allocations: 318.8 kB / 0.7232 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.5269, allocations: 122.5 kB / 0.7233 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.5271, allocations: 173.8 kB / 0.7235 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5273, allocations: 193.2 kB / 0.7237 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5273, allocations: 0 / 0.7237 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005171/0.5278, allocations: 339.9 kB / 0.724 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.5279, allocations: 71.3 kB / 0.7241 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5279, allocations: 1.188 kB / 0.7241 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5279, allocations: 7.375 kB / 0.7241 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.528, allocations: 16.58 kB / 0.7241 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.528, allocations: 3.188 kB / 0.7241 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.5283, allocations: 49.28 kB / 0.7242 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.5284, allocations: 11.77 kB / 0.7242 GB, free: 13.76 MB / 0.6231 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.000128/0.5285, allocations: 138.2 kB / 0.7243 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.5285, allocations: 15.2 kB / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.5285, allocations: 11.61 kB / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5285, allocations: 1.031 kB / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5285, allocations: 0 / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5285, allocations: 1.797 kB / 0.7243 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.5289, allocations: 299.6 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5289, allocations: 0.5 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.5289, allocations: 2.703 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.5289, allocations: 0.6562 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5289, allocations: 2.859 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5289, allocations: 4.531 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5289, allocations: 4.562 kB / 0.7246 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.5292, allocations: 203.8 kB / 0.7248 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.5292, allocations: 10.88 kB / 0.7248 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5292, allocations: 1.906 kB / 0.7248 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.5292, allocations: 1.812 kB / 0.7248 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.5293, allocations: 6.188 kB / 0.7248 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5293, allocations: 12.66 kB / 0.7249 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.5294, allocations: 96.25 kB / 0.7249 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5294, allocations: 0 / 0.7249 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002971/0.5297, allocations: 29.2 kB / 0.725 GB, free: 13.08 MB / 0.6231 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.000163/0.5298, allocations: 110.2 kB / 0.7251 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5303, allocations: 289.5 kB / 0.7254 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5303, allocations: 0 / 0.7254 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.5304, allocations: 28.28 kB / 0.7254 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.5307, allocations: 16.62 kB / 0.7254 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.5311, allocations: 176.2 kB / 0.7256 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.5312, allocations: 80.28 kB / 0.7256 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.5312, allocations: 7.594 kB / 0.7257 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.5313, allocations: 12.62 kB / 0.7257 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.5313, allocations: 0.5 kB / 0.7257 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.005607/0.5369, allocations: 2.154 MB / 0.7278 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.063176304101944] Failed to read output from testmodel.py, exit status != 0: 0.5458383411169052 0.560308979 0.033456752 Calling exit ...