Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008492/0.0008492, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000884/0.000884, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.8922/0.8922, allocations: 177.2 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7597/0.7597, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.125e-05, allocations: 4 kB / 0.5208 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001249/0.001271, allocations: 0.657 MB / 0.5214 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002415, allocations: 1.251 MB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.002461, allocations: 0 / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.002486, allocations: 3.938 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.002556, allocations: 17.36 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.003042, allocations: 212.1 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.003208, allocations: 176.5 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.003281, allocations: 18.92 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003392, allocations: 103.8 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.003488, allocations: 51.91 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.003514, allocations: 16 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/0.00357, allocations: 27.92 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.003591, allocations: 11.98 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.003637, allocations: 51.95 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003783, allocations: 139.6 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003786, allocations: 4.484 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003786, allocations: 0.75 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003789, allocations: 0 / 0.5234 GB, free: 15.14 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.0003688/0.004158, allocations: 468.7 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.00419, allocations: 8.031 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.004228, allocations: 8.938 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.004297, allocations: 117.5 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.004313, allocations: 8.375 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.004334, allocations: 21.27 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.247e-05/0.004407, allocations: 54.94 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004414, allocations: 3.938 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.00442, allocations: 0.5 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.004425, allocations: 0.5 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.004442, allocations: 16.42 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.004737, allocations: 304.4 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/0.004797, allocations: 40.06 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.004809, allocations: 11.69 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.004813, allocations: 5.156 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.199e-05/0.004905, allocations: 96.98 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.004907, allocations: 0.625 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001652/0.005072, allocations: 109.5 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002771/0.005349, allocations: 56.84 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.005426, allocations: 181.9 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.005446, allocations: 29.7 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.005502, allocations: 151 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.005516, allocations: 16.33 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.005577, allocations: 60.11 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.00568, allocations: 0.4923 MB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.00576, allocations: 104.5 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.552e-05/0.005855, allocations: 173.1 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.005973, allocations: 183.1 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005975, allocations: 0 / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002561/0.006231, allocations: 325.5 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.006272, allocations: 70.17 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006277, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.006289, allocations: 5.406 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.21e-05/0.006321, allocations: 4 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006325, allocations: 7.938 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.006462, allocations: 53.59 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.006479, allocations: 8 kB / 0.5265 GB, free: 11.67 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 7.467e-05/0.006553, allocations: 171.3 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.006565, allocations: 11.94 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.006586, allocations: 8.438 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006588, allocations: 0 / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006589, allocations: 0 / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006592, allocations: 0 / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.006782, allocations: 333.8 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.006785, allocations: 6.531 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.00679, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006792, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.006798, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.006798, allocations: 7.938 kB / 0.527 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.006799, allocations: 0 / 0.527 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.006911, allocations: 247.8 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.006917, allocations: 4.516 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.006928, allocations: 4 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.006958, allocations: 1.094 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.00698, allocations: 7.984 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.00699, allocations: 7.984 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.007026, allocations: 131.2 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007026, allocations: 0 / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001851/0.007211, allocations: 35.98 kB / 0.5274 GB, free: 10.66 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 9.982e-05/0.007311, allocations: 105.9 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.007513, allocations: 278.3 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007514, allocations: 0.7188 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.00754, allocations: 27.67 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.007735, allocations: 32 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.007947, allocations: 166.4 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.007976, allocations: 63.28 kB / 0.5281 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.007995, allocations: 9.016 kB / 0.5281 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.008092, allocations: 102.2 kB / 0.5282 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/0.008092, allocations: 0 / 0.5282 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of Templates: time 0.003468/0.01156, allocations: 2.295 MB / 0.5304 GB, free: 7.641 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3093785690143704]