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.001429/0.001429, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001923/0.001923, allocations: 173 kB / 23.36 MB, free: 1.133 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.9985/0.9985, allocations: 177.2 MB / 203.8 MB, free: 5.457 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.03819/0.03819, allocations: 8.619 MB / 268.9 MB, free: 4.777 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.263e-06/1.263e-06, allocations: 0 / 288.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.401e-05, allocations: 6.312 kB / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.1191/0.1191, allocations: 1.632 MB / 289.7 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1201, allocations: 0.573 MB / 290.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.1202, allocations: 13.44 kB / 290.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.1203, allocations: 8.625 kB / 290.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.1204, allocations: 16.89 kB / 290.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1207, allocations: 80.67 kB / 290.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1208, allocations: 99.78 kB / 290.5 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.1209, allocations: 24.53 kB / 290.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1211, allocations: 76.14 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.1212, allocations: 23.41 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1212, allocations: 6.281 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1213, allocations: 13.77 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.1213, allocations: 21.08 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1213, allocations: 26.12 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1215, allocations: 74.53 kB / 290.8 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1215, allocations: 0 / 290.8 MB, free: 19.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1215, allocations: 2.406 kB / 290.8 MB, free: 19.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1215, allocations: 0 / 290.8 MB, free: 19.12 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.0004164/0.1219, allocations: 395.6 kB / 291.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1219, allocations: 9.188 kB / 291.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1221, allocations: 26 kB / 291.2 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1223, allocations: 199.1 kB / 291.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.1224, allocations: 110.2 kB / 291.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1224, allocations: 11.75 kB / 291.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1225, allocations: 77.66 kB / 291.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1225, allocations: 192 / 291.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1225, allocations: 6.375 kB / 291.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1225, allocations: 1.219 kB / 291.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1226, allocations: 21.78 kB / 291.6 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.1228, allocations: 172.6 kB / 291.8 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.1229, allocations: 46.03 kB / 291.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.1229, allocations: 17.14 kB / 291.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1229, allocations: 1.281 kB / 291.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1231, allocations: 94.23 kB / 292 MB, free: 18.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1231, allocations: 0 / 292 MB, free: 18.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001522/0.1232, allocations: 79.09 kB / 292 MB, free: 18.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1233, allocations: 55.56 kB / 292.1 MB, free: 18.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.1233, allocations: 148.2 kB / 292.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1233, allocations: 33.03 kB / 292.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.1234, allocations: 101.1 kB / 292.4 MB, free: 17.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1234, allocations: 26.81 kB / 292.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1234, allocations: 29.14 kB / 292.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.1235, allocations: 324.6 kB / 292.7 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.1235, allocations: 11.34 kB / 292.7 MB, free: 17.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.1235, allocations: 52.48 kB / 292.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.1236, allocations: 74.36 kB / 292.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1236, allocations: 1.062 kB / 292.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001182/0.1237, allocations: 88.36 kB / 293 MB, free: 17.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1238, allocations: 5.281 kB / 293 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1238, allocations: 4.203 kB / 293 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1238, allocations: 2.188 kB / 293 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.1238, allocations: 24.5 kB / 293 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1239, allocations: 2.703 kB / 293 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1239, allocations: 9.797 kB / 293 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1239, allocations: 4.703 kB / 293 MB, free: 17.38 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.491e-05/0.124, allocations: 133.1 kB / 293.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.124, allocations: 18.33 kB / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.124, allocations: 14.05 kB / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1241, allocations: 4.656 kB / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1241, allocations: 0 / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1241, allocations: 0.6562 kB / 293.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.086e-05/0.1241, allocations: 87.98 kB / 293.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1242, allocations: 0 / 293.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1242, allocations: 9.875 kB / 293.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1242, allocations: 0 / 293.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1242, allocations: 12.91 kB / 293.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1242, allocations: 0.6562 kB / 293.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1242, allocations: 1.312 kB / 293.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.1243, allocations: 89.17 kB / 293.4 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.1243, allocations: 12.19 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1243, allocations: 14.33 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.1244, allocations: 5.297 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1244, allocations: 13 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1244, allocations: 4.25 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.1245, allocations: 42.7 kB / 293.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1245, allocations: 0 / 293.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.1246, allocations: 16.41 kB / 293.5 MB, free: 17.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 8.259e-05/0.1247, allocations: 89.78 kB / 293.6 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1248, allocations: 47.38 kB / 293.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1248, allocations: 1.125 kB / 293.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.1249, allocations: 29.59 kB / 293.6 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.475e-05/0.125, allocations: 16.73 kB / 293.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.1255, allocations: 238.8 kB / 293.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.1255, allocations: 68.47 kB / 294 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.1256, allocations: 20.33 kB / 294 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.1256, allocations: 61.11 kB / 294 MB, free: 16.68 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1256, allocations: 1.031 kB / 294 MB, free: 16.68 MB / 266.7 MB Notification: Performance of Templates: time 0.003268/0.1289, allocations: 1.015 MB / 295.1 MB, free: 16.62 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6612193710170686]