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.0006367/0.0006367, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008867/0.001523, allocations: 440 kB / 10.41 MB, free: 284 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.0006587/0.0006587, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008415/0.0015, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9857/0.9857, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08522/1.071, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.03572/0.03572, allocations: 8.61 MB / 252.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00723/0.04295, allocations: 3.133 MB / 255.9 MB, free: 3.492 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 / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.905e-05, allocations: 2.312 kB / 257.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001929/0.001948, allocations: 1.645 MB / 258.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.002643, allocations: 0.5844 MB / 259.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.841e-05/0.002711, allocations: 11.88 kB / 259.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.002736, allocations: 7.875 kB / 259.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.002792, allocations: 15.64 kB / 259.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.002968, allocations: 75.81 kB / 259.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.003091, allocations: 95.72 kB / 259.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.003184, allocations: 33.86 kB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.00334, allocations: 87.73 kB / 259.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.003407, allocations: 27.91 kB / 259.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.003425, allocations: 8 kB / 259.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.003478, allocations: 8 kB / 259.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.003499, allocations: 11.94 kB / 259.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.003526, allocations: 19.94 kB / 259.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.00365, allocations: 75.62 kB / 259.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.00366, allocations: 0 / 259.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003661, allocations: 0 / 259.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.00367, allocations: 0 / 259.9 MB, free: 15.48 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.0004707/0.004141, allocations: 413.1 kB / 260.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.00417, allocations: 12.03 kB / 260.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.004314, allocations: 102 kB / 260.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.004518, allocations: 190.1 kB / 260.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.004588, allocations: 115.4 kB / 260.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.0046, allocations: 4.375 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004727, allocations: 82.83 kB / 260.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004734, allocations: 192 / 260.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004744, allocations: 8.125 kB / 260.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.00475, allocations: 3.984 kB / 260.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.004779, allocations: 15.92 kB / 260.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.005019, allocations: 172.2 kB / 261 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.005097, allocations: 54.48 kB / 261 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.005115, allocations: 16.84 kB / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.005126, allocations: 0 / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.005241, allocations: 87.42 kB / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.005241, allocations: 0 / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001284/0.00537, allocations: 85.59 kB / 261.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.005399, allocations: 51.41 kB / 261.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.00547, allocations: 152.6 kB / 261.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.005484, allocations: 33.64 kB / 261.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005518, allocations: 100 kB / 261.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.005546, allocations: 23.84 kB / 261.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.005579, allocations: 29.69 kB / 261.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.005661, allocations: 322.8 kB / 261.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.005678, allocations: 11.98 kB / 261.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.005714, allocations: 49.14 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.005788, allocations: 77.05 kB / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.005791, allocations: 0 / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.973e-05/0.005881, allocations: 93.41 kB / 262.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.005891, allocations: 4 kB / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.005896, allocations: 8.156 kB / 262.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.005908, allocations: 0 / 262.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.005975, allocations: 24.09 kB / 262.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.005978, allocations: 3.938 kB / 262.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.006008, allocations: 4 kB / 262.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006015, allocations: 4.062 kB / 262.2 MB, free: 12.92 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.0001018/0.006116, allocations: 135.5 kB / 262.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.006129, allocations: 7.938 kB / 262.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.006158, allocations: 24.77 kB / 262.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006159, allocations: 0 / 262.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006161, allocations: 4 kB / 262.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006165, allocations: 0 / 262.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.736e-05/0.006252, allocations: 93.8 kB / 262.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006254, allocations: 0 / 262.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.006278, allocations: 4 kB / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.006285, allocations: 7.953 kB / 262.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.006288, allocations: 7.938 kB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.006296, allocations: 7.984 kB / 262.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.006297, allocations: 4 kB / 262.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006298, allocations: 0 / 262.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/0.006387, allocations: 92.97 kB / 262.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.006402, allocations: 7.938 kB / 262.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.006426, allocations: 8 kB / 262.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.00646, allocations: 11.97 kB / 262.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.006467, allocations: 4 kB / 262.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.646e-05/0.006493, allocations: 41.62 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006493, allocations: 3.938 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.006612, allocations: 16 kB / 262.7 MB, free: 12.39 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.356e-05/0.006686, allocations: 84.41 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.035e-05/0.006776, allocations: 56.7 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006781, allocations: 4 kB / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.006821, allocations: 28.84 kB / 262.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.981e-05/0.006911, allocations: 30.98 kB / 262.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.007603, allocations: 241.4 kB / 263.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.007635, allocations: 63.34 kB / 263.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.007674, allocations: 20.62 kB / 263.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.007728, allocations: 59.38 kB / 263.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007728, allocations: 3.938 kB / 263.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of Templates: time 0.002441/0.01017, allocations: 1.039 MB / 264.3 MB, free: 10.73 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.353080078959465]