Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001451/0.001451, allocations: 214.8 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.3/1.3, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002069/0.002069, allocations: 63.91 kB / 0.7187 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.607, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001842/0.6089, allocations: 0.6579 MB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.6104, allocations: 1.217 MB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.6104, allocations: 3.906 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.6105, allocations: 3.938 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.6105, allocations: 15.33 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.6112, allocations: 223.8 kB / 0.8203 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.6115, allocations: 178.5 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.6116, allocations: 4.234 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.6117, allocations: 81.47 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.6119, allocations: 51.55 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.6119, allocations: 16.44 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.612, allocations: 31.91 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.6121, allocations: 11.97 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.6122, allocations: 52.55 kB / 0.8207 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.6125, allocations: 154.3 kB / 0.8209 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6125, allocations: 5.109 kB / 0.8209 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6125, allocations: 1.188 kB / 0.8209 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6125, allocations: 0.8125 kB / 0.8209 GB, free: 27.3 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.0005659/0.613, allocations: 365 kB / 0.8212 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6131, allocations: 15.66 kB / 0.8213 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.6132, allocations: 12.14 kB / 0.8213 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.6133, allocations: 119.9 kB / 0.8214 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.6133, allocations: 11.3 kB / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.6133, allocations: 9.828 kB / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.6135, allocations: 55.58 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.6135, allocations: 1.125 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.6135, allocations: 1.156 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6135, allocations: 1.094 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.6135, allocations: 14.42 kB / 0.8215 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.614, allocations: 276.6 kB / 0.8217 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.6141, allocations: 39.48 kB / 0.8218 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.6142, allocations: 20.64 kB / 0.8218 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.6142, allocations: 1.859 kB / 0.8218 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.6144, allocations: 95.06 kB / 0.8219 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.6144, allocations: 0.5625 kB / 0.8219 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0003561/0.6148, allocations: 129.4 kB / 0.822 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6148, allocations: 59.25 kB / 0.8221 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.6149, allocations: 119.2 kB / 0.8222 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.615, allocations: 34.55 kB / 0.8222 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.615, allocations: 91.73 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.615, allocations: 31.72 kB / 0.8223 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6152, allocations: 50.88 kB / 0.8224 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.6152, allocations: 323 kB / 0.8227 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6154, allocations: 123.1 kB / 0.8228 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.6156, allocations: 169.3 kB / 0.823 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.6158, allocations: 188.3 kB / 0.8231 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6158, allocations: 1.5 kB / 0.8231 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004786/0.6162, allocations: 344.3 kB / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.6163, allocations: 69.58 kB / 0.8235 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6163, allocations: 4.25 kB / 0.8235 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6163, allocations: 2 kB / 0.8236 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.6163, allocations: 4.641 kB / 0.8236 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6164, allocations: 11.69 kB / 0.8236 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.6167, allocations: 57.83 kB / 0.8236 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.6167, allocations: 12.53 kB / 0.8236 GB, free: 25 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 8.74e-05/0.6168, allocations: 127.3 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.6168, allocations: 8.016 kB / 0.8238 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.6169, allocations: 10.31 kB / 0.8238 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6169, allocations: 1.719 kB / 0.8238 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6169, allocations: 4.938 kB / 0.8238 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6169, allocations: 1.609 kB / 0.8238 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.6171, allocations: 312.5 kB / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6171, allocations: 0 / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.6171, allocations: 5.922 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6171, allocations: 1.672 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6171, allocations: 1.875 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.6171, allocations: 1.906 kB / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6171, allocations: 0 / 0.8241 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.6173, allocations: 203.3 kB / 0.8243 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.6173, allocations: 7.219 kB / 0.8243 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.6173, allocations: 1.766 kB / 0.8243 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.6174, allocations: 5.969 kB / 0.8243 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.6174, allocations: 9.859 kB / 0.8243 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6174, allocations: 4.359 kB / 0.8243 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.6175, allocations: 98.64 kB / 0.8244 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6175, allocations: 0 / 0.8244 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002911/0.6178, allocations: 32.78 kB / 0.8244 GB, free: 24.32 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.0001293/0.6179, allocations: 106 kB / 0.8245 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.6183, allocations: 294.4 kB / 0.8248 GB, free: 24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6183, allocations: 320 / 0.8248 GB, free: 24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.6183, allocations: 32.09 kB / 0.8248 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6186, allocations: 12.84 kB / 0.8249 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.619, allocations: 177 kB / 0.825 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.278e-05/0.619, allocations: 72.16 kB / 0.8251 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.6191, allocations: 7.922 kB / 0.8251 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.6191, allocations: 15.06 kB / 0.8251 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.6191, allocations: 0 / 0.8251 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.005695/0.6248, allocations: 2.158 MB / 0.8272 GB, free: 23.5 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9429532047361135] Failed to read output from testmodel.py, exit status != 0: 0.6327979993075132 0.644821385 0.029673437 Calling exit ...