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.001862/0.001862, allocations: 85.48 kB / 19.44 MB, free: 344 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.002003/0.002003, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.07383/0.07383, allocations: 8.619 MB / 268.2 MB, free: 4.945 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.923e-06/1.923e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.123e-05, allocations: 4.703 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002194/0.002225, allocations: 1.58 MB / 341.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.00303, allocations: 0.5532 MB / 342.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.003111, allocations: 15.88 kB / 342.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.003141, allocations: 7.875 kB / 342.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.003229, allocations: 19.75 kB / 342.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.003477, allocations: 83.75 kB / 342.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003618, allocations: 95.7 kB / 342.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003723, allocations: 21.27 kB / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.003916, allocations: 79.73 kB / 342.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.003988, allocations: 15.92 kB / 342.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.004012, allocations: 12 kB / 342.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.00406, allocations: 12 kB / 342.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.004091, allocations: 23.89 kB / 342.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.004138, allocations: 27.91 kB / 342.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004322, allocations: 95.58 kB / 342.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004326, allocations: 0 / 342.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004327, allocations: 0 / 342.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.004333, allocations: 4 kB / 342.8 MB, free: 6.094 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.000642/0.004975, allocations: 0.5125 MB / 343.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.00502, allocations: 8.031 kB / 343.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.005229, allocations: 32.83 kB / 343.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.005507, allocations: 196.3 kB / 343.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/0.005598, allocations: 107.4 kB / 343.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.005614, allocations: 12.38 kB / 343.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.00582, allocations: 74.2 kB / 343.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.005831, allocations: 192 / 343.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.005847, allocations: 12.05 kB / 343.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005854, allocations: 4 kB / 343.7 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.005988, allocations: 27.98 kB / 343.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.006482, allocations: 319.6 kB / 344.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.00669, allocations: 78.91 kB / 344.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.006764, allocations: 35.77 kB / 344.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.006782, allocations: 0 / 344.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.006965, allocations: 105 kB / 344.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.006968, allocations: 3.984 kB / 344.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003687/0.007336, allocations: 137.5 kB / 344.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.007361, allocations: 59.34 kB / 344.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007463, allocations: 231.1 kB / 344.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.007474, allocations: 29.7 kB / 344.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.007516, allocations: 154.9 kB / 344.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.007545, allocations: 28 kB / 344.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.007598, allocations: 39.36 kB / 344.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.007665, allocations: 0.4962 MB / 345.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.007721, allocations: 23.98 kB / 345.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.007786, allocations: 77.98 kB / 345.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.007918, allocations: 129.9 kB / 345.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00792, allocations: 3.938 kB / 345.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001747/0.008095, allocations: 121.5 kB / 345.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.008107, allocations: 8 kB / 345.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.008111, allocations: 0 / 345.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008126, allocations: 4.156 kB / 345.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.008206, allocations: 19.98 kB / 345.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.008212, allocations: 0 / 345.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.008268, allocations: 19.83 kB / 345.8 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.008276, allocations: 4 kB / 345.8 MB, free: 2.727 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 0.0001013/0.008377, allocations: 178.3 kB / 346 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.008399, allocations: 11.95 kB / 346 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.008433, allocations: 12.78 kB / 346 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008435, allocations: 8.109 kB / 346.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008438, allocations: 3.938 kB / 346.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008441, allocations: 0 / 346.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.008548, allocations: 156.6 kB / 346.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008549, allocations: 3.938 kB / 346.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.008595, allocations: 8 kB / 346.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008597, allocations: 0 / 346.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.008608, allocations: 3.984 kB / 346.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.00861, allocations: 3.938 kB / 346.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008611, allocations: 4 kB / 346.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.008844, allocations: 156.2 kB / 346.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.008861, allocations: 23.83 kB / 346.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.008884, allocations: 0 / 346.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.008938, allocations: 4 kB / 346.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.008989, allocations: 15.97 kB / 346.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.008998, allocations: 8.062 kB / 346.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.009053, allocations: 163.3 kB / 346.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009053, allocations: 0 / 346.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.009248, allocations: 16 kB / 346.6 MB, free: 1.895 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 7.741e-05/0.009326, allocations: 111.2 kB / 346.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.009533, allocations: 83.53 kB / 346.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009535, allocations: 0 / 346.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.00963, allocations: 43.67 kB / 346.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.009786, allocations: 22.42 kB / 346.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.01022, allocations: 235.3 kB / 347.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.01027, allocations: 93.62 kB / 347.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.01032, allocations: 16.64 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.01036, allocations: 20.5 kB / 347.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01036, allocations: 0 / 347.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of Templates: time 0.003667/0.01403, allocations: 0.9453 MB / 348.2 MB, free: 284 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: 4.530093887005933]