Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.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.0009206/0.0009206, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001058/0.001058, allocations: 169 kB / 23.02 MB, free: 1.547 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04549/0.04549, allocations: 8.615 MB / 268.6 MB, free: 4.926 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.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(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 3.938 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.394e-05, allocations: 6.25 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001757/0.001781, allocations: 1.588 MB / 342.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007294/0.00251, allocations: 0.5648 MB / 343 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.002595, allocations: 15.81 kB / 343 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.002629, allocations: 11.86 kB / 343.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.002703, allocations: 11.88 kB / 343.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.002988, allocations: 79.77 kB / 343.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003119, allocations: 111.6 kB / 343.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003227, allocations: 17.28 kB / 343.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.00338, allocations: 71.86 kB / 343.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.003439, allocations: 23.84 kB / 343.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.003459, allocations: 8 kB / 343.4 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.003502, allocations: 11.98 kB / 343.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.003523, allocations: 19.92 kB / 343.4 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.003558, allocations: 23.91 kB / 343.4 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003688, allocations: 83.59 kB / 343.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00369, allocations: 0 / 343.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003691, allocations: 4 kB / 343.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003695, allocations: 0 / 343.5 MB, free: 5.734 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004421/0.004137, allocations: 0.5089 MB / 344 MB, free: 5.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.004172, allocations: 8.031 kB / 344 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.004294, allocations: 28.83 kB / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.004487, allocations: 210.2 kB / 344.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.004549, allocations: 111.4 kB / 344.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.004563, allocations: 8.375 kB / 344.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.004705, allocations: 78.84 kB / 344.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004713, allocations: 4.188 kB / 344.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004724, allocations: 8.109 kB / 344.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.004733, allocations: 0 / 344.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.004777, allocations: 23.98 kB / 344.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.005088, allocations: 295.7 kB / 344.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.005182, allocations: 66.95 kB / 344.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.005209, allocations: 15.78 kB / 344.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.005225, allocations: 4 kB / 344.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.00534, allocations: 108.9 kB / 345 MB, free: 4.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.005341, allocations: 0 / 345 MB, free: 4.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002067/0.005547, allocations: 109.8 kB / 345.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.005572, allocations: 59.39 kB / 345.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.005643, allocations: 210.5 kB / 345.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.005652, allocations: 33.7 kB / 345.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.005686, allocations: 146.9 kB / 345.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.005709, allocations: 27.94 kB / 345.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.00574, allocations: 35.36 kB / 345.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.005783, allocations: 0.4923 MB / 346.1 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.00581, allocations: 19.98 kB / 346.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.005852, allocations: 74.09 kB / 346.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.005932, allocations: 94.02 kB / 346.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005934, allocations: 3.938 kB / 346.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001123/0.006047, allocations: 109.5 kB / 346.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006058, allocations: 8 kB / 346.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.006063, allocations: 0 / 346.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.00608, allocations: 4 kB / 346.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.006147, allocations: 19.92 kB / 346.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.006153, allocations: 0 / 346.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.006185, allocations: 7.953 kB / 346.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.006192, allocations: 4 kB / 346.4 MB, free: 2.535 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: R_DIGITAL.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real Rhyst_DIGITAL.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.R_DIGITAL.y,R_DIGITAL.y,Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.y,Rhyst_DIGITAL.y,$whenCondition2,$whenCondition1,Rhyst.state,$PRE.Rhyst.state,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.232e-05/0.006284, allocations: 186.3 kB / 346.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.006299, allocations: 11.95 kB / 346.6 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.006329, allocations: 12.78 kB / 346.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006331, allocations: 0 / 346.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006336, allocations: 3.984 kB / 346.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006339, allocations: 0 / 346.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.445e-05/0.006413, allocations: 144.6 kB / 346.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006415, allocations: 3.938 kB / 346.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.006437, allocations: 7.984 kB / 346.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006439, allocations: 4 kB / 346.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.006447, allocations: 12.06 kB / 346.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006448, allocations: 0 / 346.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006449, allocations: 0 / 346.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006563, allocations: 140.2 kB / 346.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006572, allocations: 19.78 kB / 346.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.00659, allocations: 0 / 346.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.006615, allocations: 11.98 kB / 347 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.006655, allocations: 7.984 kB / 347 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.006662, allocations: 11.98 kB / 347 MB, free: 1.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.006697, allocations: 155.1 kB / 347.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006697, allocations: 0 / 347.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000147/0.006844, allocations: 16 kB / 347.1 MB, free: 1.734 MB / 266.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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,Rhyst_DIGITAL.y,Rhyst_DIGITAL.state,R_DIGITAL.y,Rhyst.state) * Number of discrete states: 3 (Rhyst_DIGITAL.state,R_DIGITAL.u,Rhyst.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 6.131e-05/0.006905, allocations: 110.4 kB / 347.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.00702, allocations: 55.59 kB / 347.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007021, allocations: 0 / 347.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.007061, allocations: 39.86 kB / 347.3 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.007184, allocations: 23.92 kB / 347.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.007686, allocations: 226.8 kB / 347.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.25e-05/0.007708, allocations: 67.2 kB / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.007747, allocations: 16.64 kB / 347.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.00778, allocations: 20.5 kB / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00778, allocations: 0 / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of Templates: time 0.002575/0.01036, allocations: 0.9503 MB / 348.6 MB, free: 180 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9706880510784686]