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.001485/0.001485, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001524/0.001524, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.06405/0.06405, allocations: 8.6 MB / 268.2 MB, free: 4.961 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.955e-06/2.955e-06, allocations: 4 kB / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/3.038e-05, allocations: 8.922 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002268/0.002298, allocations: 1.561 MB / 341.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.003145, allocations: 0.5493 MB / 342.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.003228, allocations: 15.81 kB / 342.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.003262, allocations: 7.875 kB / 342.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.00335, allocations: 11.88 kB / 342.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.003626, allocations: 87.69 kB / 342.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003776, allocations: 103.6 kB / 342.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003892, allocations: 21.28 kB / 342.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.004064, allocations: 71.8 kB / 342.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.004132, allocations: 23.91 kB / 342.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.004153, allocations: 4 kB / 342.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.004195, allocations: 8 kB / 342.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.004219, allocations: 27.89 kB / 342.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.004263, allocations: 27.86 kB / 342.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004412, allocations: 95.69 kB / 342.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004414, allocations: 0 / 342.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004415, allocations: 0 / 342.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.004419, allocations: 0 / 342.7 MB, free: 6.125 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.000534/0.004953, allocations: 418.9 kB / 343.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004986, allocations: 8.031 kB / 343.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.005159, allocations: 32.83 kB / 343.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.005404, allocations: 203.3 kB / 343.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.005481, allocations: 111.4 kB / 343.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005497, allocations: 12.38 kB / 343.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.005678, allocations: 70.2 kB / 343.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005687, allocations: 4.125 kB / 343.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.005703, allocations: 12.12 kB / 343.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005707, allocations: 0 / 343.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.005853, allocations: 31.97 kB / 343.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.006232, allocations: 256.4 kB / 343.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.006422, allocations: 66.47 kB / 343.9 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.006499, allocations: 20.94 kB / 344 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.006517, allocations: 4 kB / 344 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.006721, allocations: 111.4 kB / 344.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.006722, allocations: 0 / 344.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003875/0.007109, allocations: 149.8 kB / 344.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.007137, allocations: 55.39 kB / 344.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.007226, allocations: 154.9 kB / 344.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007241, allocations: 33.7 kB / 344.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.007276, allocations: 100.1 kB / 344.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.007301, allocations: 23.84 kB / 344.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.00734, allocations: 29.7 kB / 344.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.007387, allocations: 326.8 kB / 344.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.007449, allocations: 23.92 kB / 345 MB, free: 3.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.007518, allocations: 61.14 kB / 345 MB, free: 3.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.007689, allocations: 113 kB / 345.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.007692, allocations: 3.938 kB / 345.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001908/0.007883, allocations: 125.5 kB / 345.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007895, allocations: 4.109 kB / 345.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0079, allocations: 3.938 kB / 345.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.007918, allocations: 7.938 kB / 345.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.008001, allocations: 20.14 kB / 345.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.008009, allocations: 4 kB / 345.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.008072, allocations: 11.89 kB / 345.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.008081, allocations: 4 kB / 345.3 MB, free: 3.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.0001069/0.008188, allocations: 137.5 kB / 345.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.008212, allocations: 11.95 kB / 345.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.008247, allocations: 16.78 kB / 345.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.00825, allocations: 7.984 kB / 345.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.008256, allocations: 0 / 345.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008259, allocations: 0 / 345.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.826e-05/0.008358, allocations: 137.3 kB / 345.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.008359, allocations: 3.938 kB / 345.6 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.008409, allocations: 11.98 kB / 345.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008411, allocations: 0 / 345.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.008422, allocations: 0 / 345.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.008423, allocations: 0 / 345.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008424, allocations: 0 / 345.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.008689, allocations: 156.9 kB / 345.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.008703, allocations: 15.84 kB / 345.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.008728, allocations: 4 kB / 345.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.008787, allocations: 7.984 kB / 345.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.008841, allocations: 7.984 kB / 345.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.008852, allocations: 16.05 kB / 345.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.141e-05/0.008904, allocations: 115.2 kB / 345.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008904, allocations: 0 / 345.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000214/0.009118, allocations: 19.94 kB / 346 MB, free: 2.602 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.804e-05/0.009196, allocations: 103.2 kB / 346.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.009397, allocations: 75.89 kB / 346.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009398, allocations: 0 / 346.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.009495, allocations: 31.92 kB / 346.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.009667, allocations: 23.92 kB / 346.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.01016, allocations: 229 kB / 346.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01021, allocations: 93.62 kB / 346.5 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.01027, allocations: 16.64 kB / 346.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.01031, allocations: 24.44 kB / 346.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01031, allocations: 0 / 346.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of Templates: time 0.003599/0.01391, allocations: 0.9356 MB / 347.5 MB, free: 1.031 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.490290337009355]