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.0006761/0.0006761, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008911/0.001567, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006908/0.0006908, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008294/0.00152, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08978/1.121, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.787/0.787, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2673/1.054, allocations: 49.04 MB / 447.6 MB, free: 6.707 MB / 426.7 MB " [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.823e-06/1.823e-06, allocations: 0 / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.959e-05, allocations: 2.312 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00128/0.0013, allocations: 0.7105 MB / 449.6 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002406, allocations: 1.254 MB / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.002439, allocations: 1.281 kB / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.00246, allocations: 3.938 kB / 450.9 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.002503, allocations: 17.33 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.002842, allocations: 208.9 kB / 451.1 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.003029, allocations: 183.9 kB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.0031, allocations: 4.297 kB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.003218, allocations: 110.8 kB / 451.4 MB, free: 2.992 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003322, allocations: 50.09 kB / 451.4 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.003347, allocations: 16 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.003421, allocations: 28.97 kB / 451.5 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.003441, allocations: 9.75 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.003487, allocations: 35.08 kB / 451.5 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.003636, allocations: 117.1 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.003652, allocations: 0 / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.003653, allocations: 0.8438 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.003668, allocations: 0 / 451.6 MB, free: 2.75 MB / 426.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.0004219/0.00409, allocations: 355.3 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.004119, allocations: 8.031 kB / 452 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.00416, allocations: 12.92 kB / 452 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.004237, allocations: 115.4 kB / 452.1 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.004256, allocations: 9.625 kB / 452.1 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.004276, allocations: 18.05 kB / 452.1 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.004354, allocations: 58.92 kB / 452.2 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004362, allocations: 5.469 kB / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004367, allocations: 0 / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.004371, allocations: 0 / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.526e-05/0.004387, allocations: 4 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.004797, allocations: 191.8 kB / 452.4 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.004868, allocations: 34.5 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.00488, allocations: 8.859 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.004885, allocations: 0 / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.004997, allocations: 88.28 kB / 452.5 MB, free: 1.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.004998, allocations: 3.938 kB / 452.5 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001496/0.005148, allocations: 85.53 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.005183, allocations: 56.55 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.005251, allocations: 126.6 kB / 452.8 MB, free: 1.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.005273, allocations: 33.7 kB / 452.8 MB, free: 1.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.005316, allocations: 93.03 kB / 452.9 MB, free: 1.332 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.005329, allocations: 19.89 kB / 452.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.005389, allocations: 46.42 kB / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.005458, allocations: 318.8 kB / 453.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.00553, allocations: 104.2 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.005615, allocations: 141.4 kB / 453.5 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.005722, allocations: 175.1 kB / 453.7 MB, free: 464 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.005725, allocations: 5.219 kB / 453.7 MB, free: 460 kB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001959/0.005921, allocations: 277.8 kB / 454 MB, free: 152 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.005971, allocations: 71.39 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005975, allocations: 1.156 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005987, allocations: 4 kB / 454 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.00603, allocations: 7.938 kB / 454 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.00604, allocations: 8.516 kB / 454.1 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.00618, allocations: 45.53 kB / 454.1 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.006208, allocations: 12.08 kB / 454.1 MB, free: 15.99 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.285e-05/0.006281, allocations: 123 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.006295, allocations: 11.94 kB / 454.2 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.006319, allocations: 9.609 kB / 454.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.006321, allocations: 0.6562 kB / 454.3 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.006326, allocations: 7.984 kB / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006329, allocations: 0.9062 kB / 454.3 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.006484, allocations: 214.7 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006487, allocations: 4.812 kB / 454.5 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-06/0.006497, allocations: 15.88 kB / 454.5 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.006504, allocations: 4.859 kB / 454.5 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.006507, allocations: 4 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.006514, allocations: 4 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006515, allocations: 0.625 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006517, allocations: 0.625 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.263e-05/0.006599, allocations: 163.4 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.006615, allocations: 8.625 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.006647, allocations: 0 / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.006672, allocations: 9.969 kB / 454.7 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.006682, allocations: 0.625 kB / 454.7 MB, free: 15.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.006702, allocations: 26.47 kB / 454.7 MB, free: 15.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006702, allocations: 0.625 kB / 454.7 MB, free: 15.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.006851, allocations: 31.94 kB / 454.7 MB, free: 15.32 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 0.0001215/0.006973, allocations: 91.34 kB / 454.8 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.007163, allocations: 268.7 kB / 455.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.007167, allocations: 0 / 455.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.007194, allocations: 28.83 kB / 455.1 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.007355, allocations: 25.14 kB / 455.1 MB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.007783, allocations: 164.5 kB / 455.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.007815, allocations: 59.34 kB / 455.4 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.007838, allocations: 9.266 kB / 455.4 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.007929, allocations: 80.36 kB / 455.4 MB, free: 14.52 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00793, allocations: 0 / 455.4 MB, free: 14.52 MB / 442.7 MB Notification: Performance of Templates: time 0.00393/0.01186, allocations: 2.36 MB / 457.8 MB, free: 12.32 MB / 442.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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.508982186205685]