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.001115/0.001115, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001266/0.001266, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8732/0.8732, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-531:686: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-531:694: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.695/0.695, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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 2.425e-06/2.425e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.722e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001536/0.001564, allocations: 0.6657 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002631, allocations: 1.221 MB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.002665, allocations: 0 / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.002689, allocations: 3.938 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.002749, allocations: 19.86 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.003176, allocations: 221 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003338, allocations: 183.6 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.404e-05/0.003412, allocations: 7.984 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003515, allocations: 95.92 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.003607, allocations: 55.84 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.00363, allocations: 16 kB / 0.6218 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.003683, allocations: 35.92 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003706, allocations: 19.91 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.003756, allocations: 43.95 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.003931, allocations: 191.5 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003932, allocations: 0 / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003933, allocations: 0 / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.003937, allocations: 0 / 0.622 GB, free: 10.4 MB / 0.5886 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.0003506/0.004287, allocations: 357.6 kB / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.004317, allocations: 8.031 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.004357, allocations: 12.89 kB / 0.6224 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.004422, allocations: 125.6 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.004439, allocations: 8.375 kB / 0.6225 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.00446, allocations: 12.38 kB / 0.6225 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.118e-05/0.004541, allocations: 50.17 kB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.004548, allocations: 3.938 kB / 0.6226 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.004558, allocations: 4 kB / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004563, allocations: 4 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.004588, allocations: 8 kB / 0.6226 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.00492, allocations: 268.5 kB / 0.6229 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.004981, allocations: 38.44 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.005, allocations: 20.86 kB / 0.6229 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.005006, allocations: 3.984 kB / 0.6229 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.005119, allocations: 107.3 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.00512, allocations: 0 / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.000204/0.005324, allocations: 125.5 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.005351, allocations: 59.41 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.005412, allocations: 117.8 kB / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.005433, allocations: 33.64 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.005478, allocations: 96.33 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.00549, allocations: 11.91 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.005548, allocations: 61.67 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.005612, allocations: 314.8 kB / 0.6238 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.005722, allocations: 123.4 kB / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.00584, allocations: 165.4 kB / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.005974, allocations: 193.3 kB / 0.6243 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.005977, allocations: 3.938 kB / 0.6243 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002956/0.006272, allocations: 348.2 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.006308, allocations: 67.39 kB / 0.6247 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006313, allocations: 4 kB / 0.6247 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.006322, allocations: 0 / 0.6247 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.869e-05/0.006361, allocations: 15.92 kB / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006368, allocations: 4.375 kB / 0.6247 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.006528, allocations: 59.98 kB / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.006545, allocations: 8 kB / 0.6248 GB, free: 7.312 MB / 0.5886 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 6.459e-05/0.00661, allocations: 134.8 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.006617, allocations: 7.938 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.006636, allocations: 8.438 kB / 0.6249 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006638, allocations: 0 / 0.6249 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.006643, allocations: 4 kB / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.006645, allocations: 0 / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.006825, allocations: 298.1 kB / 0.6252 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006826, allocations: 4 kB / 0.6252 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.006831, allocations: 7.938 kB / 0.6252 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.006832, allocations: 0 / 0.6252 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006839, allocations: 3.984 kB / 0.6252 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006839, allocations: 0 / 0.6252 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.00684, allocations: 4 kB / 0.6252 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.006947, allocations: 195.4 kB / 0.6254 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.006955, allocations: 11.95 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006968, allocations: 11.92 kB / 0.6254 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.934e-05/0.006997, allocations: 0 / 0.6254 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.007025, allocations: 7.984 kB / 0.6254 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.007036, allocations: 8 kB / 0.6254 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.007068, allocations: 95.09 kB / 0.6255 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007068, allocations: 0 / 0.6255 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001776/0.007246, allocations: 35.94 kB / 0.6256 GB, free: 6.43 MB / 0.5886 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.355e-05/0.007339, allocations: 103.2 kB / 0.6256 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.007578, allocations: 290 kB / 0.6259 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007579, allocations: 4 kB / 0.6259 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.007616, allocations: 32.42 kB / 0.626 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.007802, allocations: 25.95 kB / 0.626 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.00805, allocations: 195 kB / 0.6262 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.008097, allocations: 72.22 kB / 0.6262 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.008113, allocations: 16.48 kB / 0.6263 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.008113, allocations: 0 / 0.6263 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of Templates: time 0.002183/0.0103, allocations: 1.506 MB / 0.6277 GB, free: 4.125 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.977232648059726] Failed to read output from testmodel.py, exit status != 0: 0.014697197824716568 0.023535376 0.017252535 Calling exit ...