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.000786/0.000786, allocations: 76.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.000785/0.000785, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9288/0.9288, allocations: 177.2 MB / 203.5 MB, free: 5.758 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.0372/0.0372, allocations: 8.612 MB / 268.6 MB, free: 5.141 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.463e-06/1.463e-06, allocations: 0 / 396.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.165e-05, allocations: 11.62 kB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001723/0.001744, allocations: 1.545 MB / 397.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.002485, allocations: 0.5499 MB / 398.4 MB, free: 60 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.002569, allocations: 11.88 kB / 398.4 MB, free: 48 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.002601, allocations: 7.875 kB / 398.4 MB, free: 40 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.002674, allocations: 19.75 kB / 398.5 MB, free: 20 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.002927, allocations: 83.86 kB / 398.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.003063, allocations: 99.53 kB / 398.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.003172, allocations: 21.3 kB / 398.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003312, allocations: 71.75 kB / 398.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.003376, allocations: 27.89 kB / 398.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.003393, allocations: 8 kB / 398.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.94e-05/0.003432, allocations: 8 kB / 398.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.003455, allocations: 23.89 kB / 398.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.003502, allocations: 27.91 kB / 398.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003642, allocations: 87.7 kB / 398.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003644, allocations: 0 / 398.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003646, allocations: 4 kB / 398.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.00365, allocations: 0 / 398.9 MB, free: 15.57 MB / 378.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.0004723/0.004122, allocations: 437 kB / 399.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004158, allocations: 8.031 kB / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.004273, allocations: 28.81 kB / 399.4 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.004495, allocations: 197.4 kB / 399.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.939e-05/0.004575, allocations: 107.4 kB / 399.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.004588, allocations: 12.36 kB / 399.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.004723, allocations: 70.2 kB / 399.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004731, allocations: 192 / 399.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.004745, allocations: 8.125 kB / 399.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.00475, allocations: 4 kB / 399.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.004832, allocations: 35.91 kB / 399.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.005141, allocations: 252.4 kB / 400.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.005261, allocations: 62.48 kB / 400.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.005306, allocations: 24.94 kB / 400.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.00532, allocations: 3.938 kB / 400.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.005471, allocations: 99.33 kB / 400.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005472, allocations: 8 kB / 400.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002706/0.005743, allocations: 141.9 kB / 400.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.005779, allocations: 59.34 kB / 400.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.005864, allocations: 150.4 kB / 400.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005878, allocations: 29.64 kB / 400.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.005922, allocations: 108.1 kB / 400.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.00595, allocations: 27.98 kB / 400.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.005983, allocations: 25.72 kB / 400.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.006064, allocations: 322.8 kB / 401.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.006106, allocations: 31.98 kB / 401.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.006161, allocations: 65.06 kB / 401.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.006285, allocations: 97.08 kB / 401.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.006287, allocations: 3.938 kB / 401.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004231/0.006711, allocations: 133.4 kB / 401.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.006723, allocations: 10.5 kB / 401.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006727, allocations: 0 / 401.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006739, allocations: 4 kB / 401.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.006792, allocations: 15.92 kB / 401.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.006798, allocations: 4 kB / 401.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.006829, allocations: 7.938 kB / 401.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.006838, allocations: 8.156 kB / 401.5 MB, free: 12.77 MB / 378.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.0001016/0.006939, allocations: 141.8 kB / 401.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.006951, allocations: 11.91 kB / 401.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.006978, allocations: 16.78 kB / 401.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00698, allocations: 0 / 401.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.006983, allocations: 0 / 401.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006986, allocations: 4 kB / 401.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.698e-05/0.007073, allocations: 133.3 kB / 401.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007075, allocations: 7.938 kB / 401.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.007096, allocations: 8 kB / 401.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.007097, allocations: 0 / 401.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.007107, allocations: 3.984 kB / 401.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007108, allocations: 0 / 401.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007109, allocations: 4 kB / 401.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.007257, allocations: 148.9 kB / 401.9 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-06/0.007266, allocations: 11.98 kB / 401.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.007282, allocations: 7.938 kB / 402 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.007305, allocations: 4 kB / 402 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.00735, allocations: 19.97 kB / 402 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.007355, allocations: 0 / 402 MB, free: 12.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.007407, allocations: 124 kB / 402.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007407, allocations: 0 / 402.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.007541, allocations: 20 kB / 402.1 MB, free: 12.05 MB / 378.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.962e-05/0.00762, allocations: 117.6 kB / 402.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.007761, allocations: 76.16 kB / 402.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007762, allocations: 4.062 kB / 402.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.00782, allocations: 35.91 kB / 402.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.007937, allocations: 15.84 kB / 402.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.008312, allocations: 259.6 kB / 402.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.008365, allocations: 89.17 kB / 402.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.008399, allocations: 20.5 kB / 402.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.0084, allocations: 0 / 402.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of Templates: time 0.001962/0.01036, allocations: 1.469 MB / 404.2 MB, free: 9.922 MB / 378.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.272752896882594] Failed to read output from testmodel.py, exit status != 0: 0.01548687182366848 0.027692170000000002 0.021999949 Calling exit ...