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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 250 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06042/0.06042, allocations: 11.36 MB / 316.4 MB, free: 444 kB / 238.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 441.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 54.81 MB / 495.9 MB, free: 24.28 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002338/0.2958, allocations: 1.577 MB / 497.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.2965, allocations: 0.5168 MB / 498 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.2966, allocations: 8.406 kB / 498 MB, free: 22.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.2966, allocations: 11.39 kB / 498 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.2967, allocations: 14.09 kB / 498 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2969, allocations: 67.98 kB / 498.1 MB, free: 22.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.297, allocations: 96.81 kB / 498.2 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2971, allocations: 17.19 kB / 498.2 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.2972, allocations: 50.7 kB / 498.2 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.2973, allocations: 43.98 kB / 498.3 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2973, allocations: 6.188 kB / 498.3 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.2973, allocations: 6.469 kB / 498.3 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.2974, allocations: 22.31 kB / 498.3 MB, free: 22.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.2974, allocations: 43.86 kB / 498.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2976, allocations: 87.59 kB / 498.4 MB, free: 22.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2976, allocations: 0 / 498.4 MB, free: 22.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2976, allocations: 0 / 498.4 MB, free: 22.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2976, allocations: 2.984 kB / 498.4 MB, free: 22.58 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.0005087/0.2981, allocations: 493.2 kB / 498.9 MB, free: 22.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2981, allocations: 14.61 kB / 498.9 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.2982, allocations: 15.31 kB / 498.9 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.2984, allocations: 257.9 kB / 499.2 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.2985, allocations: 64.28 kB / 499.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2985, allocations: 4.406 kB / 499.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2987, allocations: 88.52 kB / 499.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2987, allocations: 0 / 499.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2987, allocations: 0.9688 kB / 499.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2987, allocations: 1.312 kB / 499.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.2988, allocations: 37.53 kB / 499.4 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2993, allocations: 320.9 kB / 499.7 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2995, allocations: 56.62 kB / 499.8 MB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.2995, allocations: 27.84 kB / 499.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2996, allocations: 0 / 499.8 MB, free: 21.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.2998, allocations: 115.9 kB / 499.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2998, allocations: 0 / 499.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000367/0.3001, allocations: 134.4 kB / 0.4883 GB, free: 21.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.3002, allocations: 54.28 kB / 0.4884 GB, free: 21.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.3003, allocations: 152.6 kB / 0.4885 GB, free: 21.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3003, allocations: 31.2 kB / 0.4885 GB, free: 20.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.3003, allocations: 110 kB / 0.4886 GB, free: 20.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3003, allocations: 23.78 kB / 0.4887 GB, free: 20.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3004, allocations: 25.53 kB / 0.4887 GB, free: 20.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.3004, allocations: 325.7 kB / 0.489 GB, free: 20.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.3005, allocations: 24.61 kB / 0.489 GB, free: 20.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.3006, allocations: 70.97 kB / 0.4891 GB, free: 20.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3007, allocations: 105.3 kB / 0.4892 GB, free: 20.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3007, allocations: 0 / 0.4892 GB, free: 20.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001985/0.3009, allocations: 124.5 kB / 0.4893 GB, free: 20.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3009, allocations: 6.469 kB / 0.4893 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3009, allocations: 2.719 kB / 0.4893 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.301, allocations: 1.469 kB / 0.4893 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.301, allocations: 14.28 kB / 0.4893 GB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3011, allocations: 14.89 kB / 0.4893 GB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.3011, allocations: 11.11 kB / 0.4894 GB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3011, allocations: 8.5 kB / 0.4894 GB, free: 20.23 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.0001087/0.3012, allocations: 129.6 kB / 0.4895 GB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3013, allocations: 9.078 kB / 0.4895 GB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.3013, allocations: 15.98 kB / 0.4895 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3013, allocations: 5.062 kB / 0.4895 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3013, allocations: 0.9375 kB / 0.4895 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3013, allocations: 112 / 0.4895 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3014, allocations: 206.1 kB / 0.4897 GB, free: 19.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3014, allocations: 3.984 kB / 0.4897 GB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.3015, allocations: 14.34 kB / 0.4897 GB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3015, allocations: 0 / 0.4897 GB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3015, allocations: 5.766 kB / 0.4897 GB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3015, allocations: 1.094 kB / 0.4897 GB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3015, allocations: 64 / 0.4897 GB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3017, allocations: 150.2 kB / 0.4899 GB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.3018, allocations: 84.09 kB / 0.49 GB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3018, allocations: 9.391 kB / 0.49 GB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.3019, allocations: 3.188 kB / 0.49 GB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.3019, allocations: 13.52 kB / 0.49 GB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3019, allocations: 6.234 kB / 0.49 GB, free: 19.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.302, allocations: 119.8 kB / 0.4901 GB, free: 19.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.302, allocations: 0 / 0.4901 GB, free: 19.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3022, allocations: 21.55 kB / 0.4901 GB, free: 19.5 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.83e-05/0.3023, allocations: 104.6 kB / 0.4902 GB, free: 19.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3025, allocations: 74.77 kB / 0.4903 GB, free: 19.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3025, allocations: 0 / 0.4903 GB, free: 19.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3026, allocations: 37.17 kB / 0.4903 GB, free: 19.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.3028, allocations: 9.812 kB / 0.4903 GB, free: 19.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.3033, allocations: 262.6 kB / 0.4906 GB, free: 19.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3035, allocations: 0.7012 MB / 0.4913 GB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3035, allocations: 14.53 kB / 0.4913 GB, free: 18.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3035, allocations: 5.188 kB / 0.4913 GB, free: 18.41 MB / 366.1 MB Notification: Performance of Templates: time 0.002942/0.3065, allocations: 1.41 MB / 0.4927 GB, free: 17.69 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]