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.001001/0.001001, allocations: 93.06 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.0009911/0.0009911, allocations: 169 kB / 23.02 MB, free: 1.551 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7807/0.7807, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.804e-06/1.804e-06, allocations: 0 / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.11e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001766/0.001787, allocations: 0.6692 MB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.003517, allocations: 1.25 MB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.00357, allocations: 4 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.003608, allocations: 6.125 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.003702, allocations: 15.86 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.004432, allocations: 215.4 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.004693, allocations: 172.3 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004803, allocations: 20.53 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.004965, allocations: 92.88 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005099, allocations: 59.83 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.005137, allocations: 16 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.005218, allocations: 32.45 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.005246, allocations: 13.33 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.005326, allocations: 51.89 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.005563, allocations: 135.7 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005565, allocations: 0 / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005566, allocations: 0.9375 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.00557, allocations: 0 / 0.523 GB, free: 15.51 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.0005497/0.00612, allocations: 465.4 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.006163, allocations: 8.031 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.006228, allocations: 12.94 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.006344, allocations: 134.5 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.006376, allocations: 13.33 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.006412, allocations: 8.375 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.006537, allocations: 62.94 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006549, allocations: 4.625 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.00656, allocations: 0 / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.006568, allocations: 1.281 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.006589, allocations: 4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.006995, allocations: 327.8 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.00708, allocations: 51.55 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.007099, allocations: 12.66 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.007104, allocations: 0 / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.007211, allocations: 93.5 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.007212, allocations: 0.7812 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002159/0.007428, allocations: 117.5 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.00746, allocations: 61.47 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.007548, allocations: 173.9 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.007569, allocations: 33.7 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.007629, allocations: 139.1 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.007647, allocations: 27.81 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.00772, allocations: 55.34 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.007848, allocations: 0.4895 MB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.007963, allocations: 115.4 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.008098, allocations: 181.2 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.008249, allocations: 188.3 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.008252, allocations: 3.938 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003345/0.008587, allocations: 339.3 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.008629, allocations: 67.39 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.008635, allocations: 4 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.008652, allocations: 0 / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.008706, allocations: 19.86 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.008712, allocations: 0 / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.008861, allocations: 41.42 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.008885, allocations: 15.98 kB / 0.5261 GB, free: 11.96 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 8.674e-05/0.008972, allocations: 177.9 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.008983, allocations: 7.984 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.009011, allocations: 9.469 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.009013, allocations: 4 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.009017, allocations: 0.9062 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00902, allocations: 0 / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.009238, allocations: 357.2 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.009241, allocations: 4.625 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-06/0.009246, allocations: 0.5 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009248, allocations: 4 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.009257, allocations: 6.609 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.009258, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.009259, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.009388, allocations: 243.8 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.009396, allocations: 7.953 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.00941, allocations: 3.984 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.00944, allocations: 4 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.009472, allocations: 10.42 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.009483, allocations: 4 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.009524, allocations: 137.2 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009524, allocations: 0 / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001915/0.009715, allocations: 32 kB / 0.5271 GB, free: 10.9 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.0001075/0.009823, allocations: 100.8 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.01009, allocations: 289.9 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0101, allocations: 1.031 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.01014, allocations: 35.61 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01035, allocations: 25.62 kB / 0.5275 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.01062, allocations: 171.8 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.01066, allocations: 59.34 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.01068, allocations: 10.09 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.0107, allocations: 12.5 kB / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.0107, allocations: 0 / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.007708/0.01841, allocations: 2.136 MB / 0.5299 GB, free: 8.121 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.8655670769512653]