Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008483/0.008483, allocations: 101.9 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 196.9 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06521/0.06521, allocations: 11.18 MB / 301.7 MB, free: 4.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 68.95 kB / 417.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1069, allocations: 51.98 MB / 469.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003441/0.1103, allocations: 1.989 MB / 471.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1124, allocations: 1.266 MB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1126, allocations: 0 / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.1134, allocations: 295.2 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.1139, allocations: 206.7 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.1147, allocations: 321.4 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1151, allocations: 351.2 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1152, allocations: 48.36 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1154, allocations: 147.5 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1156, allocations: 147.4 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1157, allocations: 20 kB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1159, allocations: 115.9 kB / 474.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.116, allocations: 83.73 kB / 474.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1162, allocations: 123.2 kB / 474.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.1166, allocations: 378.5 kB / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1166, allocations: 0 / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1166, allocations: 0 / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1167, allocations: 0 / 475.2 MB, free: 9.105 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001031/0.1177, allocations: 0.6804 MB / 475.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1177, allocations: 8.031 kB / 475.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1178, allocations: 36.7 kB / 476 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.1183, allocations: 336.4 kB / 476.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1183, allocations: 16.12 kB / 476.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1184, allocations: 15.94 kB / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1187, allocations: 155.8 kB / 476.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1187, allocations: 0 / 476.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1187, allocations: 3.984 kB / 476.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1187, allocations: 4 kB / 476.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1189, allocations: 67.91 kB / 476.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.1196, allocations: 480.4 kB / 477 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.1201, allocations: 154.3 kB / 477.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1202, allocations: 60.86 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1202, allocations: 3.984 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.1205, allocations: 139.3 kB / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.1205, allocations: 0 / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006602/0.1212, allocations: 287.8 kB / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1213, allocations: 110.8 kB / 477.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.1218, allocations: 420.5 kB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1218, allocations: 33.7 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.122, allocations: 160.4 kB / 478.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.122, allocations: 47.64 kB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1221, allocations: 49.7 kB / 478.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1223, allocations: 346.7 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1224, allocations: 48.2 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.1226, allocations: 144.7 kB / 479 MB, free: 5.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.123, allocations: 188.4 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.123, allocations: 4 kB / 479.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004129/0.1234, allocations: 229.3 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1234, allocations: 8 kB / 479.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1234, allocations: 4.047 kB / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1235, allocations: 7.984 kB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1236, allocations: 31.92 kB / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1236, allocations: 7.984 kB / 479.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1237, allocations: 24.14 kB / 479.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.1238, allocations: 15.94 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) "status of the timer" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) "residual time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002387/0.124, allocations: 184.8 kB / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.1241, allocations: 35.77 kB / 479.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.1242, allocations: 31.28 kB / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1242, allocations: 0 / 479.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1242, allocations: 7.938 kB / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1242, allocations: 7.984 kB / 479.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1245, allocations: 293.4 kB / 480 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1245, allocations: 0 / 480 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.1245, allocations: 15.98 kB / 480.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1246, allocations: 0 / 480.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1246, allocations: 4 kB / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1246, allocations: 0 / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1246, allocations: 0 / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.1251, allocations: 272.6 kB / 480.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.1252, allocations: 112.8 kB / 480.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1252, allocations: 4 kB / 480.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.1253, allocations: 15.98 kB / 480.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1254, allocations: 15.92 kB / 480.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.1254, allocations: 8 kB / 480.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003439/0.1257, allocations: 307 kB / 480.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1258, allocations: 3.938 kB / 480.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1261, allocations: 67.88 kB / 480.8 MB, free: 3.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.001555/0.1277, allocations: 429.9 kB / 481.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.1281, allocations: 159.8 kB / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1281, allocations: 0.5 kB / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1282, allocations: 91.83 kB / 481.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1287, allocations: 79.25 kB / 481.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.1295, allocations: 0.492 MB / 482.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.13, allocations: 0.7751 MB / 482.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1301, allocations: 38.95 kB / 482.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.1302, allocations: 35.42 kB / 482.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1302, allocations: 4 kB / 482.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Templates: time 0.009425/0.1396, allocations: 4.271 MB / 487.2 MB, free: 12.84 MB / 366.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 480]