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.001485/0.001485, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001496/0.001496, allocations: 177 kB / 23.36 MB, free: 1.133 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8389/0.8389, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.522e-06/1.522e-06, allocations: 0 / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.725e-05, allocations: 4.797 kB / 480.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001569/0.001586, allocations: 0.7122 MB / 480.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.002911, allocations: 1.256 MB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.00295, allocations: 1.094 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002978, allocations: 5.406 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.00305, allocations: 15.97 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.003525, allocations: 216.8 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.003701, allocations: 181.2 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.35e-05/0.003774, allocations: 13.34 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.003888, allocations: 90.89 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.004001, allocations: 58.58 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.004029, allocations: 16.77 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.004103, allocations: 23.98 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.004129, allocations: 20.44 kB / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.004185, allocations: 51.95 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.00435, allocations: 141.4 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004352, allocations: 0 / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004353, allocations: 0 / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.004357, allocations: 0 / 482.8 MB, free: 4.113 MB / 442.7 MB 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.0003463/0.004703, allocations: 333.2 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.004734, allocations: 12.03 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.004771, allocations: 12.92 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.004849, allocations: 121.4 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.004865, allocations: 4.938 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.004885, allocations: 13.28 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.004956, allocations: 58.94 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004962, allocations: 7.875 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.00497, allocations: 5.812 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004976, allocations: 3.984 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.318e-05/0.004989, allocations: 8.844 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.005254, allocations: 180.2 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.005312, allocations: 31.25 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.005325, allocations: 17.5 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-06/0.005329, allocations: 0.6094 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.983e-05/0.005418, allocations: 83.86 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.005419, allocations: 0.625 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001253/0.005545, allocations: 82.22 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005571, allocations: 55.41 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.005645, allocations: 127.2 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.005669, allocations: 33.7 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.005712, allocations: 93.05 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.005731, allocations: 24.53 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.005792, allocations: 45.67 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.005874, allocations: 324.6 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.005955, allocations: 99.38 kB / 484.6 MB, free: 2.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.006044, allocations: 145.3 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.006169, allocations: 159 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00617, allocations: 0 / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000212/0.006383, allocations: 277.7 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.00672, allocations: 71.39 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006725, allocations: 1.219 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006739, allocations: 8.844 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.869e-05/0.006777, allocations: 4 kB / 485.2 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.006781, allocations: 5.875 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.006917, allocations: 43.84 kB / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.00694, allocations: 15.98 kB / 485.3 MB, free: 1.391 MB / 442.7 MB 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.536e-05/0.007015, allocations: 118.6 kB / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.007027, allocations: 16.89 kB / 485.4 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.007052, allocations: 12.38 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007054, allocations: 1.031 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007057, allocations: 4 kB / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.007061, allocations: 0 / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.007224, allocations: 218.2 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007226, allocations: 3.938 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-06/0.007234, allocations: 4.531 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007236, allocations: 0.9688 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.007243, allocations: 0 / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007244, allocations: 0 / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007245, allocations: 0.75 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.007333, allocations: 171.4 kB / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007341, allocations: 12.48 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.007354, allocations: 4 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.007383, allocations: 1.375 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.00741, allocations: 11.98 kB / 485.9 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.007421, allocations: 3.984 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.627e-05/0.007437, allocations: 13.8 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007437, allocations: 3.938 kB / 485.9 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.007601, allocations: 32 kB / 485.9 MB, free: 0.7266 MB / 442.7 MB 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 8.671e-05/0.007687, allocations: 91.58 kB / 486 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.007873, allocations: 264 kB / 486.3 MB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.007876, allocations: 0.5312 kB / 486.3 MB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.007902, allocations: 30 kB / 486.3 MB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.008062, allocations: 20.8 kB / 486.3 MB, free: 292 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.008294, allocations: 151.5 kB / 486.5 MB, free: 116 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.008334, allocations: 65.69 kB / 486.5 MB, free: 32 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.166e-05/0.008356, allocations: 4.734 kB / 486.5 MB, free: 28 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.008471, allocations: 79.34 kB / 486.6 MB, free: 15.95 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008471, allocations: 4 kB / 486.6 MB, free: 15.95 MB / 458.7 MB Notification: Performance of Templates: time 0.003493/0.01196, allocations: 2.295 MB / 488.9 MB, free: 13.82 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.757121793925762]