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.001173/0.001173, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002601, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001135/0.001135, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.00262, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.091/1.091, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.195, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.0459/0.0459, allocations: 8.61 MB / 252.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006628/0.05253, allocations: 3.133 MB / 255.7 MB, free: 3.602 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 2.014e-06/2.014e-06, allocations: 0 / 257 MB, free: 2.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.636e-05, allocations: 2.312 kB / 257 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001905/0.001921, allocations: 1.634 MB / 258.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.002658, allocations: 0.5764 MB / 259.2 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.002739, allocations: 15.88 kB / 259.2 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.002768, allocations: 11.86 kB / 259.2 MB, free: 84 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.002814, allocations: 19.75 kB / 259.2 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.003002, allocations: 75.83 kB / 259.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.00314, allocations: 99.69 kB / 259.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003244, allocations: 25.81 kB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.003412, allocations: 79.81 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.00348, allocations: 27.89 kB / 259.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003499, allocations: 12 kB / 259.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.003557, allocations: 8 kB / 259.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.003581, allocations: 19.86 kB / 259.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.003612, allocations: 19.94 kB / 259.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003744, allocations: 67.69 kB / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.003761, allocations: 0 / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.003762, allocations: 0 / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.003778, allocations: 0 / 259.7 MB, free: 15.64 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.0005504/0.004329, allocations: 413.1 kB / 260.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004363, allocations: 19.98 kB / 260.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.004542, allocations: 102 kB / 260.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.004834, allocations: 190.1 kB / 260.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.004942, allocations: 115.4 kB / 260.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.004956, allocations: 12.31 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.005131, allocations: 78.84 kB / 260.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005141, allocations: 192 / 260.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.005155, allocations: 8.109 kB / 260.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.005165, allocations: 4 kB / 260.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.005218, allocations: 8 kB / 260.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.005616, allocations: 184.2 kB / 260.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.005738, allocations: 46.5 kB / 260.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.00576, allocations: 8.859 kB / 260.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.005775, allocations: 4 kB / 260.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.005924, allocations: 95.41 kB / 260.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.005926, allocations: 0 / 260.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001528/0.006079, allocations: 69.61 kB / 261 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.006125, allocations: 63.39 kB / 261 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.006211, allocations: 156.5 kB / 261.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.006234, allocations: 29.7 kB / 261.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.006274, allocations: 104 kB / 261.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.006302, allocations: 19.84 kB / 261.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.006342, allocations: 33.8 kB / 261.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.006428, allocations: 330.7 kB / 261.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.006442, allocations: 8 kB / 261.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.00648, allocations: 49.12 kB / 261.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.006551, allocations: 73.06 kB / 261.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006554, allocations: 4 kB / 261.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.799e-05/0.006642, allocations: 93.41 kB / 261.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006654, allocations: 4 kB / 261.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006659, allocations: 160 / 261.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.006668, allocations: 8 kB / 261.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.006734, allocations: 19.98 kB / 262 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006738, allocations: 0 / 262 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.006775, allocations: 4 kB / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006782, allocations: 4 kB / 262 MB, free: 13.07 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.0001146/0.006896, allocations: 126.4 kB / 262.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.006911, allocations: 19.92 kB / 262.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.006946, allocations: 20.77 kB / 262.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006948, allocations: 0 / 262.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.00695, allocations: 0 / 262.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006954, allocations: 0 / 262.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.007043, allocations: 93.88 kB / 262.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007044, allocations: 0 / 262.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.00707, allocations: 11.98 kB / 262.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.007082, allocations: 7.953 kB / 262.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007085, allocations: 3.938 kB / 262.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007092, allocations: 4 kB / 262.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007095, allocations: 7.984 kB / 262.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007097, allocations: 7.938 kB / 262.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.914e-05/0.007196, allocations: 89.41 kB / 262.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.007216, allocations: 11.94 kB / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.007238, allocations: 3.984 kB / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.007278, allocations: 11.98 kB / 262.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.007287, allocations: 7.984 kB / 262.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.007316, allocations: 37.58 kB / 262.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007316, allocations: 3.938 kB / 262.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.007432, allocations: 23.98 kB / 262.4 MB, free: 12.53 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.755e-05/0.00751, allocations: 84.42 kB / 262.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.007601, allocations: 44.78 kB / 262.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.007606, allocations: 0 / 262.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.00764, allocations: 32.77 kB / 262.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.1e-05/0.007731, allocations: 23.98 kB / 262.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.008465, allocations: 233.3 kB / 262.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.008503, allocations: 71.08 kB / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.008539, allocations: 12.66 kB / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.008598, allocations: 71.36 kB / 263 MB, free: 11.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008599, allocations: 3.938 kB / 263 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Templates: time 0.002759/0.01136, allocations: 1.019 MB / 264 MB, free: 10.9 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.660835687071085]