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.001395/0.001395, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001543/0.001543, allocations: 216.2 kB / 22.25 MB, free: 4.855 MB / 14.72 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.319/1.319, allocations: 203.5 MB / 0.5038 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 65.62 kB / 0.7183 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.696, allocations: 102 MB / 0.8179 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002179/0.6982, allocations: 0.6609 MB / 0.8185 GB, free: 28.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.7003, allocations: 1.219 MB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.7003, allocations: 1.469 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.7004, allocations: 3.938 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.7005, allocations: 16.36 kB / 0.8197 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.7012, allocations: 218.9 kB / 0.8199 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.7015, allocations: 182.6 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7016, allocations: 5.078 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7017, allocations: 77.45 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.7019, allocations: 53.19 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.702, allocations: 15.53 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.7021, allocations: 36.89 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.7021, allocations: 10.88 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.7022, allocations: 52.55 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.7025, allocations: 158.9 kB / 0.8205 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7026, allocations: 1.156 kB / 0.8205 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7026, allocations: 0.5625 kB / 0.8205 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.7026, allocations: 0.5 kB / 0.8205 GB, free: 27.47 MB / 0.6387 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.0005705/0.7031, allocations: 361.5 kB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.7032, allocations: 10.12 kB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.7033, allocations: 12.48 kB / 0.8209 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.834e-05/0.7034, allocations: 124.4 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.7034, allocations: 6.188 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.7034, allocations: 19.73 kB / 0.821 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.7036, allocations: 51.28 kB / 0.821 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7036, allocations: 0 / 0.821 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7036, allocations: 1.922 kB / 0.821 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7036, allocations: 0.8438 kB / 0.8211 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.7036, allocations: 14.16 kB / 0.8211 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.7042, allocations: 277.5 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.7043, allocations: 34.44 kB / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.7043, allocations: 17.34 kB / 0.8214 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.7043, allocations: 4.812 kB / 0.8214 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.7046, allocations: 90.66 kB / 0.8215 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/0.7046, allocations: 4.672 kB / 0.8215 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0003685/0.705, allocations: 129.7 kB / 0.8216 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.705, allocations: 58.98 kB / 0.8217 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7051, allocations: 122.9 kB / 0.8218 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.7052, allocations: 34.45 kB / 0.8218 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.7052, allocations: 91.25 kB / 0.8219 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.7053, allocations: 28.2 kB / 0.8219 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.7054, allocations: 51.55 kB / 0.822 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.7055, allocations: 324.3 kB / 0.8223 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.7057, allocations: 122.7 kB / 0.8224 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.7059, allocations: 170.5 kB / 0.8226 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.7061, allocations: 193 kB / 0.8227 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7061, allocations: 0 / 0.8227 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004845/0.7066, allocations: 340.6 kB / 0.8231 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.7066, allocations: 74.88 kB / 0.8231 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7067, allocations: 1.188 kB / 0.8231 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.7067, allocations: 2.156 kB / 0.8231 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.7067, allocations: 5.328 kB / 0.8231 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7067, allocations: 6.891 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.7071, allocations: 57.03 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.7072, allocations: 12.67 kB / 0.8232 GB, free: 25.17 MB / 0.6387 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 9.638e-05/0.7073, allocations: 128.7 kB / 0.8233 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.7073, allocations: 8.969 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.7073, allocations: 6.844 kB / 0.8234 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7073, allocations: 2.062 kB / 0.8234 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7073, allocations: 0 / 0.8234 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.7073, allocations: 5.094 kB / 0.8234 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.7076, allocations: 308.8 kB / 0.8237 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7076, allocations: 0 / 0.8237 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.7076, allocations: 7 kB / 0.8237 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7076, allocations: 0 / 0.8237 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7076, allocations: 2.734 kB / 0.8237 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7076, allocations: 1.375 kB / 0.8237 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7076, allocations: 0 / 0.8237 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.7078, allocations: 204.8 kB / 0.8239 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.7078, allocations: 8.453 kB / 0.8239 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.7078, allocations: 4.703 kB / 0.8239 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.448e-05/0.7079, allocations: 10.34 kB / 0.8239 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.7079, allocations: 6.156 kB / 0.8239 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.7079, allocations: 4.062 kB / 0.8239 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.708, allocations: 95.34 kB / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.708, allocations: 0 / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002813/0.7083, allocations: 33.22 kB / 0.824 GB, free: 24.5 MB / 0.6387 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.0001434/0.7084, allocations: 107.1 kB / 0.8241 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.7088, allocations: 293.7 kB / 0.8244 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7088, allocations: 0 / 0.8244 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.7088, allocations: 33.36 kB / 0.8244 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.7092, allocations: 17.77 kB / 0.8244 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.7095, allocations: 173 kB / 0.8246 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.992e-05/0.7096, allocations: 71.91 kB / 0.8247 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.7096, allocations: 13.73 kB / 0.8247 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.7097, allocations: 11.47 kB / 0.8247 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.7097, allocations: 0.8438 kB / 0.8247 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.006335/0.716, allocations: 2.16 MB / 0.8268 GB, free: 23.68 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.119700640439987] Failed to read output from testmodel.py, exit status != 0: 0.7250587679445744 0.740324955 0.03443612 Calling exit ...