Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007626/0.0007626, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009736/0.001736, 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.001203/0.001203, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002391, 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 0.9872/0.9872, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09035/1.078, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.08397/0.08397, allocations: 9.788 MB / 253.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005916/0.08988, allocations: 3.483 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 258.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.724e-05, allocations: 6.312 kB / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001734/0.001751, allocations: 1.634 MB / 260.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.002393, allocations: 0.5725 MB / 260.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.002451, allocations: 15.88 kB / 260.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.002474, allocations: 7.875 kB / 260.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.002518, allocations: 15.81 kB / 260.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.002655, allocations: 83.75 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.002771, allocations: 99.64 kB / 260.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.002854, allocations: 25.88 kB / 260.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.00299, allocations: 83.8 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.00305, allocations: 27.89 kB / 261.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003066, allocations: 8 kB / 261.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.003123, allocations: 8 kB / 261.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003141, allocations: 15.94 kB / 261.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.003169, allocations: 23.92 kB / 261.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.00328, allocations: 71.62 kB / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.003295, allocations: 4 kB / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003296, allocations: 0 / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.003311, allocations: 0 / 261.2 MB, free: 14.14 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.0004573/0.003768, allocations: 409.1 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.003797, allocations: 8.031 kB / 261.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.003919, allocations: 98.03 kB / 261.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.00411, allocations: 201.4 kB / 261.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.004176, allocations: 111.4 kB / 262 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.004186, allocations: 4.375 kB / 262 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.004303, allocations: 82.89 kB / 262.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.004311, allocations: 192 / 262.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004321, allocations: 8.125 kB / 262.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004327, allocations: 0 / 262.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.004362, allocations: 11.98 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.004593, allocations: 184.1 kB / 262.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.004662, allocations: 38.56 kB / 262.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.004681, allocations: 16.84 kB / 262.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.004692, allocations: 7.984 kB / 262.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.0048, allocations: 95.36 kB / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.004801, allocations: 0 / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001325/0.004934, allocations: 77.59 kB / 262.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.004966, allocations: 51.41 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.005065, allocations: 153.2 kB / 262.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.005086, allocations: 33.7 kB / 262.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.005127, allocations: 108 kB / 262.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.005158, allocations: 23.83 kB / 262.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.005196, allocations: 29.7 kB / 262.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.005268, allocations: 326.8 kB / 263.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.005291, allocations: 11.98 kB / 263.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.005324, allocations: 49.08 kB / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.005399, allocations: 85 kB / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005401, allocations: 0 / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.662e-05/0.005487, allocations: 89.47 kB / 263.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.005497, allocations: 4 kB / 263.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005502, allocations: 4 kB / 263.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.00551, allocations: 0 / 263.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.005579, allocations: 23.92 kB / 263.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.005583, allocations: 8.141 kB / 263.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.005615, allocations: 4 kB / 263.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.005622, allocations: 8 kB / 263.5 MB, free: 11.57 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 9.322e-05/0.005715, allocations: 125.8 kB / 263.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.005727, allocations: 11.92 kB / 263.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.005756, allocations: 12.78 kB / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005757, allocations: 112 / 263.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005759, allocations: 3.938 kB / 263.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005761, allocations: 8 kB / 263.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.534e-05/0.005837, allocations: 93.8 kB / 263.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005838, allocations: 0 / 263.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.005863, allocations: 11.94 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.005872, allocations: 7.953 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.005873, allocations: 3.938 kB / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.00588, allocations: 7.984 kB / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005881, allocations: 0 / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005882, allocations: 0 / 263.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.496e-05/0.005967, allocations: 93.39 kB / 263.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.005985, allocations: 16 kB / 263.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.006009, allocations: 8 kB / 263.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.006043, allocations: 15.97 kB / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006048, allocations: 0 / 263.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.006072, allocations: 38.28 kB / 263.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006072, allocations: 0 / 263.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001073/0.00618, allocations: 20 kB / 264 MB, free: 11.05 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 6.284e-05/0.006243, allocations: 80.42 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.006327, allocations: 56.8 kB / 264.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.006332, allocations: 4 kB / 264.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.006365, allocations: 32.77 kB / 264.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.377e-05/0.006439, allocations: 18.92 kB / 264.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.007134, allocations: 243.7 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.007166, allocations: 63.66 kB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.007203, allocations: 16.64 kB / 264.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.007249, allocations: 59.38 kB / 264.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00725, allocations: 4 kB / 264.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002418/0.009668, allocations: 1.029 MB / 265.6 MB, free: 9.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5689626215025783]