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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 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.06106/0.06106, allocations: 11.33 MB / 315.8 MB, free: 356 kB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001993/0.001993, allocations: 75.88 kB / 440.6 MB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 54.82 MB / 495.4 MB, free: 24.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002996/0.3598, allocations: 1.582 MB / 497 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3609, allocations: 0.5173 MB / 497.5 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.361, allocations: 8.969 kB / 497.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.361, allocations: 11.88 kB / 497.6 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3611, allocations: 17.12 kB / 497.6 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3615, allocations: 68.28 kB / 497.6 MB, free: 23.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3617, allocations: 103.3 kB / 497.7 MB, free: 23.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3618, allocations: 11.91 kB / 497.8 MB, free: 23.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3619, allocations: 51.12 kB / 497.8 MB, free: 23.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.362, allocations: 36.73 kB / 497.8 MB, free: 23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.3621, allocations: 5.125 kB / 497.8 MB, free: 23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.3621, allocations: 10.38 kB / 497.9 MB, free: 23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.3621, allocations: 24.81 kB / 497.9 MB, free: 22.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.3622, allocations: 39.67 kB / 497.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3623, allocations: 96.88 kB / 498 MB, free: 22.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3624, allocations: 0 / 498 MB, free: 22.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3624, allocations: 5.516 kB / 498 MB, free: 22.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3624, allocations: 0 / 498 MB, free: 22.88 MB / 366.1 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.000681/0.363, allocations: 487 kB / 498.5 MB, free: 22.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3631, allocations: 13.33 kB / 498.5 MB, free: 22.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.3631, allocations: 18.81 kB / 498.5 MB, free: 22.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3635, allocations: 254.6 kB / 498.8 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.3636, allocations: 61.09 kB / 498.8 MB, free: 22.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3636, allocations: 8.688 kB / 498.8 MB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3638, allocations: 82.78 kB / 498.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3638, allocations: 0 / 498.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3638, allocations: 0 / 498.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3638, allocations: 2.312 kB / 498.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.364, allocations: 34.72 kB / 499 MB, free: 21.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.3645, allocations: 314.1 kB / 499.3 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3647, allocations: 64.38 kB / 499.3 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.3647, allocations: 28.12 kB / 499.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3648, allocations: 0 / 499.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.365, allocations: 113.2 kB / 499.5 MB, free: 21.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.365, allocations: 0 / 499.5 MB, free: 21.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004262/0.3654, allocations: 134.4 kB / 499.6 MB, free: 21.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3655, allocations: 62 kB / 499.7 MB, free: 21.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3656, allocations: 149.1 kB / 499.8 MB, free: 21.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3656, allocations: 30.7 kB / 499.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3656, allocations: 105.7 kB / 499.9 MB, free: 21.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3657, allocations: 26.97 kB / 500 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3657, allocations: 30.58 kB / 500 MB, free: 21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.3658, allocations: 326.7 kB / 0.4886 GB, free: 20.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.3659, allocations: 24.02 kB / 0.4886 GB, free: 20.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.3659, allocations: 59.02 kB / 0.4887 GB, free: 20.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3661, allocations: 104.7 kB / 0.4888 GB, free: 20.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3661, allocations: 9.5 kB / 0.4888 GB, free: 20.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000201/0.3663, allocations: 127 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3663, allocations: 7.188 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3663, allocations: 2.5 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3663, allocations: 1.062 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.3664, allocations: 18.39 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.3664, allocations: 1.906 kB / 0.4889 GB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.3665, allocations: 16.67 kB / 0.4889 GB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3665, allocations: 12.45 kB / 0.489 GB, free: 20.41 MB / 366.1 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.0001213/0.3666, allocations: 131.1 kB / 0.4891 GB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3667, allocations: 13.14 kB / 0.4891 GB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.3667, allocations: 12.31 kB / 0.4891 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3667, allocations: 1.25 kB / 0.4891 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3667, allocations: 0 / 0.4891 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3667, allocations: 4 kB / 0.4891 GB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3668, allocations: 205.6 kB / 0.4893 GB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3669, allocations: 5.125 kB / 0.4893 GB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.3669, allocations: 9.875 kB / 0.4893 GB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3669, allocations: 0 / 0.4893 GB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3669, allocations: 5.297 kB / 0.4893 GB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3669, allocations: 5.188 kB / 0.4893 GB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3669, allocations: 0 / 0.4893 GB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3672, allocations: 153.5 kB / 0.4895 GB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3672, allocations: 84.66 kB / 0.4896 GB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3672, allocations: 2.344 kB / 0.4896 GB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3673, allocations: 10.33 kB / 0.4896 GB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3673, allocations: 9.234 kB / 0.4896 GB, free: 19.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3674, allocations: 3.5 kB / 0.4896 GB, free: 19.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.3674, allocations: 119.1 kB / 0.4897 GB, free: 19.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3674, allocations: 0 / 0.4897 GB, free: 19.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.3676, allocations: 17.73 kB / 0.4897 GB, free: 19.68 MB / 366.1 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 9.918e-05/0.3677, allocations: 112 kB / 0.4898 GB, free: 19.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.368, allocations: 79.19 kB / 0.4899 GB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.368, allocations: 0 / 0.4899 GB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3681, allocations: 28.83 kB / 0.4899 GB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.3682, allocations: 15.7 kB / 0.4899 GB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.3688, allocations: 239 kB / 0.4902 GB, free: 19.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.369, allocations: 0.6964 MB / 0.4908 GB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.3691, allocations: 16.52 kB / 0.4909 GB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.3691, allocations: 17.89 kB / 0.4909 GB, free: 18.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3691, allocations: 1.125 kB / 0.4909 GB, free: 18.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004055/0.3732, allocations: 0.967 MB / 0.4918 GB, free: 18.12 MB / 366.1 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.86901415977627]