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.00085/0.00085, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000912/0.000912, allocations: 173 kB / 23.35 MB, free: 1.137 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.9091/0.9091, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.03701/0.03701, allocations: 8.623 MB / 268.9 MB, free: 4.785 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.633e-06/1.633e-06, allocations: 0 / 288.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.613e-05, allocations: 6.25 kB / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.1204/0.1204, allocations: 1.594 MB / 289.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.1213, allocations: 0.5693 MB / 290.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1214, allocations: 13.81 kB / 290.2 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.1214, allocations: 9.906 kB / 290.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.1215, allocations: 17.08 kB / 290.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1217, allocations: 81.62 kB / 290.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1219, allocations: 103 kB / 290.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.122, allocations: 19.67 kB / 290.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1221, allocations: 78 kB / 290.5 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.1222, allocations: 25.98 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1222, allocations: 6.969 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1222, allocations: 8.016 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.1223, allocations: 24.5 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.1223, allocations: 25.28 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1224, allocations: 74.95 kB / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1224, allocations: 2.219 kB / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1224, allocations: 0 / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1224, allocations: 0.75 kB / 290.7 MB, free: 19.12 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.0003939/0.1228, allocations: 399 kB / 291.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1229, allocations: 9.125 kB / 291.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.123, allocations: 25.08 kB / 291.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1232, allocations: 189.6 kB / 291.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.1232, allocations: 117.1 kB / 291.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1232, allocations: 5.656 kB / 291.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1234, allocations: 78.62 kB / 291.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1234, allocations: 192 / 291.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1234, allocations: 5.797 kB / 291.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1234, allocations: 6.359 kB / 291.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.1234, allocations: 19.84 kB / 291.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.1237, allocations: 177.8 kB / 291.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.1237, allocations: 42.45 kB / 291.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.1238, allocations: 11.95 kB / 291.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1238, allocations: 6.156 kB / 291.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.1239, allocations: 89.67 kB / 291.9 MB, free: 18.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.1239, allocations: 1.219 kB / 291.9 MB, free: 18.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001362/0.124, allocations: 74.48 kB / 291.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.124, allocations: 58.98 kB / 292 MB, free: 18.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.1241, allocations: 148.6 kB / 292.1 MB, free: 18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1241, allocations: 33.53 kB / 292.2 MB, free: 17.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.1242, allocations: 101.6 kB / 292.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1242, allocations: 28.5 kB / 292.3 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1242, allocations: 28.38 kB / 292.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.1243, allocations: 326.5 kB / 292.6 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.1243, allocations: 7.875 kB / 292.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.1243, allocations: 51.64 kB / 292.7 MB, free: 17.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.1244, allocations: 77.64 kB / 292.8 MB, free: 17.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1244, allocations: 3.281 kB / 292.8 MB, free: 17.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001034/0.1245, allocations: 90.28 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1245, allocations: 4.938 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1245, allocations: 3.344 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1245, allocations: 2.219 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.1246, allocations: 18.42 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1246, allocations: 4.734 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.1246, allocations: 11.8 kB / 292.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1246, allocations: 4.281 kB / 292.9 MB, free: 17.39 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.763e-05/0.1247, allocations: 131.8 kB / 293 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1248, allocations: 13.81 kB / 293.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.1248, allocations: 19.06 kB / 293.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1248, allocations: 2.062 kB / 293.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1248, allocations: 0.8594 kB / 293.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1248, allocations: 5.281 kB / 293.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.658e-05/0.1249, allocations: 85.22 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1249, allocations: 1.781 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.1249, allocations: 8.078 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1249, allocations: 1.312 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1249, allocations: 7.328 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1249, allocations: 0.6562 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1249, allocations: 1.312 kB / 293.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.125, allocations: 100.5 kB / 293.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.125, allocations: 14.34 kB / 293.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1251, allocations: 7.281 kB / 293.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.1251, allocations: 8.719 kB / 293.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1251, allocations: 10.69 kB / 293.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1251, allocations: 3.828 kB / 293.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.1252, allocations: 41.67 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1252, allocations: 1.125 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.1253, allocations: 17.64 kB / 293.4 MB, free: 17.09 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 8.264e-05/0.1254, allocations: 85.02 kB / 293.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.1255, allocations: 52.73 kB / 293.5 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1255, allocations: 1.062 kB / 293.5 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.1255, allocations: 29.61 kB / 293.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.509e-05/0.1256, allocations: 15.08 kB / 293.6 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.126, allocations: 235.7 kB / 293.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.1261, allocations: 69.89 kB / 293.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.278e-05/0.1261, allocations: 14.72 kB / 293.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.1261, allocations: 65.77 kB / 293.9 MB, free: 16.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1261, allocations: 2.844 kB / 294 MB, free: 16.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002967/0.1291, allocations: 1.01 MB / 295 MB, free: 16.65 MB / 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.569172915071249]