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.001438/0.001438, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001542/0.001542, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.056/1.056, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.03936/0.03936, allocations: 8.624 MB / 268.9 MB, free: 4.762 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.994e-06/1.994e-06, allocations: 0 / 341.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.201e-05, allocations: 2.312 kB / 341.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.004279/0.004301, allocations: 1.592 MB / 342.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.0052, allocations: 0.5531 MB / 343.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.005308, allocations: 11.88 kB / 343.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.005341, allocations: 15.86 kB / 343.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.458e-05/0.005435, allocations: 19.81 kB / 343.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.00576, allocations: 79.7 kB / 343.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005925, allocations: 107.7 kB / 343.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.006057, allocations: 13.3 kB / 343.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.006252, allocations: 75.73 kB / 343.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.006328, allocations: 27.89 kB / 343.8 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.006352, allocations: 8 kB / 343.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.006424, allocations: 12 kB / 343.8 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.006456, allocations: 19.92 kB / 343.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.006507, allocations: 23.91 kB / 343.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.006701, allocations: 83.59 kB / 344 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.006707, allocations: 0 / 344 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.006709, allocations: 0 / 344 MB, free: 5.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.006714, allocations: 0 / 344 MB, free: 5.457 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.0004627/0.007177, allocations: 0.5089 MB / 344.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.007217, allocations: 8.031 kB / 344.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.007344, allocations: 32.83 kB / 344.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007545, allocations: 198.2 kB / 344.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.007619, allocations: 115.4 kB / 344.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.00763, allocations: 4.375 kB / 344.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.007779, allocations: 86.78 kB / 344.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.007787, allocations: 192 / 344.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.007797, allocations: 8.109 kB / 344.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.007803, allocations: 4 kB / 344.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.007838, allocations: 11.98 kB / 344.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.008153, allocations: 276.3 kB / 345.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.008232, allocations: 51.05 kB / 345.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.008255, allocations: 31.7 kB / 345.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.008272, allocations: 3.938 kB / 345.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.00838, allocations: 93.12 kB / 345.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.008382, allocations: 0 / 345.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001813/0.008563, allocations: 113.5 kB / 345.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.008592, allocations: 55.34 kB / 345.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.008664, allocations: 206.5 kB / 345.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.008674, allocations: 33.7 kB / 345.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.00871, allocations: 154.8 kB / 345.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.008736, allocations: 27.77 kB / 345.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.00877, allocations: 35.36 kB / 346 MB, free: 3.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.008826, allocations: 0.4963 MB / 346.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.008842, allocations: 11.92 kB / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.008877, allocations: 62.11 kB / 346.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.008965, allocations: 101.9 kB / 346.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008968, allocations: 0 / 346.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001063/0.009074, allocations: 101.5 kB / 346.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009088, allocations: 8 kB / 346.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009094, allocations: 3.984 kB / 346.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.009109, allocations: 4 kB / 346.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.009184, allocations: 16.16 kB / 346.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.00919, allocations: 3.938 kB / 346.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.009225, allocations: 11.94 kB / 346.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.009233, allocations: 12.06 kB / 346.8 MB, free: 2.312 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.0001239/0.009357, allocations: 166.3 kB / 347 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.009377, allocations: 15.89 kB / 347 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.009411, allocations: 12.77 kB / 347 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.009415, allocations: 4 kB / 347 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.009417, allocations: 4 kB / 347 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009421, allocations: 0 / 347 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.00951, allocations: 125.2 kB / 347.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.009512, allocations: 0 / 347.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.009538, allocations: 7.938 kB / 347.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.00954, allocations: 0 / 347.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.00955, allocations: 15.92 kB / 347.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009552, allocations: 0 / 347.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009552, allocations: 0 / 347.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.009691, allocations: 128.3 kB / 347.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.009701, allocations: 19.84 kB / 347.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.009721, allocations: 11.92 kB / 347.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.009747, allocations: 4 kB / 347.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.009792, allocations: 15.97 kB / 347.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.009807, allocations: 0 / 347.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.009849, allocations: 155.1 kB / 347.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009849, allocations: 0 / 347.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.01, allocations: 19.94 kB / 347.5 MB, free: 1.562 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 9.224e-05/0.01009, allocations: 103.2 kB / 347.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.0102, allocations: 59.53 kB / 347.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.0102, allocations: 0 / 347.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.01024, allocations: 27.67 kB / 347.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.01037, allocations: 18.42 kB / 347.7 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.0109, allocations: 237.2 kB / 347.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.614e-05/0.01093, allocations: 71.52 kB / 348 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01097, allocations: 12.64 kB / 348 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.01101, allocations: 86.19 kB / 348.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01101, allocations: 0 / 348.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of Templates: time 0.002977/0.01399, allocations: 1.048 MB / 349.2 MB, free: 15.86 MB / 282.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.7980776918120682]