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.001354/0.001354, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00117/0.00117, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9623/0.9623, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.04702/0.04702, allocations: 8.609 MB / 268.9 MB, free: 4.988 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.773e-06/1.773e-06, allocations: 0 / 340.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.867e-05, allocations: 4.281 kB / 340.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001669/0.001687, allocations: 1.588 MB / 342.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.002347, allocations: 0.5609 MB / 343 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.002429, allocations: 15.81 kB / 343.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.002458, allocations: 11.86 kB / 343.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.002533, allocations: 15.86 kB / 343.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.002766, allocations: 71.78 kB / 343.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.002896, allocations: 115.5 kB / 343.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.002992, allocations: 17.3 kB / 343.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.003127, allocations: 67.86 kB / 343.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.003191, allocations: 31.89 kB / 343.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.003209, allocations: 4 kB / 343.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.003247, allocations: 11.94 kB / 343.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.003268, allocations: 31.84 kB / 343.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.003304, allocations: 19.92 kB / 343.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003435, allocations: 79.66 kB / 343.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003437, allocations: 0 / 343.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003437, allocations: 0 / 343.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003441, allocations: 0 / 343.5 MB, free: 6.082 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.0004653/0.003907, allocations: 0.5089 MB / 344 MB, free: 5.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.003941, allocations: 12.03 kB / 344 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.00406, allocations: 28.83 kB / 344.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.00425, allocations: 206.2 kB / 344.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.004311, allocations: 115.4 kB / 344.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.004321, allocations: 4.375 kB / 344.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.004451, allocations: 86.84 kB / 344.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004458, allocations: 192 / 344.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004469, allocations: 4.125 kB / 344.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004477, allocations: 4 kB / 344.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.004521, allocations: 15.97 kB / 344.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.004792, allocations: 303.6 kB / 344.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.004877, allocations: 70.97 kB / 344.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.004905, allocations: 15.72 kB / 344.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.004915, allocations: 0 / 344.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.00503, allocations: 101 kB / 345 MB, free: 4.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.005031, allocations: 0 / 345 MB, free: 4.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002358/0.005267, allocations: 113.5 kB / 345.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.005296, allocations: 63.39 kB / 345.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.005393, allocations: 210.5 kB / 345.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.005408, allocations: 25.7 kB / 345.4 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.005454, allocations: 150.9 kB / 345.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.005491, allocations: 23.8 kB / 345.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.005531, allocations: 39.36 kB / 345.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.005611, allocations: 0.4884 MB / 346.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.005637, allocations: 15.98 kB / 346.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.005677, allocations: 77.98 kB / 346.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.495e-05/0.005762, allocations: 94.02 kB / 346.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.005766, allocations: 3.938 kB / 346.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001152/0.005881, allocations: 105.6 kB / 346.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.005897, allocations: 7.938 kB / 346.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.005904, allocations: 8.156 kB / 346.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.005923, allocations: 0 / 346.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.006006, allocations: 19.92 kB / 346.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.006015, allocations: 4 kB / 346.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.006057, allocations: 11.95 kB / 346.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.006066, allocations: 4 kB / 346.4 MB, free: 2.879 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.000117/0.006182, allocations: 176.1 kB / 346.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.006198, allocations: 15.95 kB / 346.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.006229, allocations: 16.78 kB / 346.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006231, allocations: 0 / 346.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.006235, allocations: 4 kB / 346.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.00624, allocations: 3.984 kB / 346.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.525e-05/0.006325, allocations: 144.8 kB / 346.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006326, allocations: 3.938 kB / 346.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.006349, allocations: 11.98 kB / 346.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.00635, allocations: 0 / 346.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.00636, allocations: 64 / 346.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006361, allocations: 4 kB / 346.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006361, allocations: 4 kB / 346.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.006482, allocations: 148.2 kB / 346.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.00649, allocations: 19.78 kB / 347 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.006508, allocations: 4 kB / 347 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.006533, allocations: 3.984 kB / 347 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.006575, allocations: 15.97 kB / 347 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.006581, allocations: 7.984 kB / 347 MB, free: 2.242 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.006618, allocations: 155.1 kB / 347.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006618, allocations: 0 / 347.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.006751, allocations: 19.98 kB / 347.2 MB, free: 2.07 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 5.799e-05/0.006809, allocations: 103.2 kB / 347.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.006916, allocations: 63.59 kB / 347.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.006917, allocations: 0 / 347.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.006965, allocations: 31.61 kB / 347.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.007086, allocations: 23.92 kB / 347.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.007612, allocations: 227.1 kB / 347.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.007644, allocations: 67.2 kB / 347.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.007683, allocations: 20.58 kB / 347.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.007717, allocations: 16.5 kB / 347.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.007718, allocations: 0 / 347.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of Templates: time 0.002614/0.01033, allocations: 0.9526 MB / 348.7 MB, free: 0.5156 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.9245493630878627]