Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 248.5 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06334/0.06334, allocations: 11.34 MB / 314.7 MB, free: 0.832 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 438.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2755, allocations: 54.83 MB / 493.3 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003639/0.2792, allocations: 2.01 MB / 495.3 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2813, allocations: 1.27 MB / 496.6 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.2814, allocations: 5.531 kB / 496.6 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.2824, allocations: 294.4 kB / 496.9 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.2828, allocations: 216.8 kB / 497.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.2837, allocations: 321 kB / 497.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.2841, allocations: 340.5 kB / 497.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2842, allocations: 38.38 kB / 497.8 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.2844, allocations: 151.8 kB / 498 MB, free: 21.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.2846, allocations: 157.3 kB / 498.1 MB, free: 21.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.2847, allocations: 23.09 kB / 498.1 MB, free: 21.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.2849, allocations: 115.8 kB / 498.2 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.285, allocations: 87.12 kB / 498.3 MB, free: 21.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2851, allocations: 126.7 kB / 498.5 MB, free: 21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.2856, allocations: 382.8 kB / 498.8 MB, free: 20.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2856, allocations: 3.938 kB / 498.8 MB, free: 20.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2856, allocations: 5.312 kB / 498.8 MB, free: 20.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2856, allocations: 0 / 498.8 MB, free: 20.8 MB / 366.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.0009879/0.2866, allocations: 0.6846 MB / 499.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2867, allocations: 13.14 kB / 499.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.2868, allocations: 36.44 kB / 499.6 MB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.2871, allocations: 339.9 kB / 499.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2872, allocations: 14.12 kB / 499.9 MB, free: 19.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.2872, allocations: 15.97 kB / 499.9 MB, free: 19.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.2875, allocations: 150.9 kB / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2875, allocations: 0 / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2875, allocations: 2.406 kB / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2875, allocations: 2.375 kB / 0.4884 GB, free: 19.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2877, allocations: 79.2 kB / 0.4884 GB, free: 19.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.2883, allocations: 487.2 kB / 0.4889 GB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2888, allocations: 143 kB / 0.489 GB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2889, allocations: 53.23 kB / 0.4891 GB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2889, allocations: 5.969 kB / 0.4891 GB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.2891, allocations: 136.7 kB / 0.4892 GB, free: 18.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.013e-06/0.2891, allocations: 3.984 kB / 0.4892 GB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005981/0.2897, allocations: 292.4 kB / 0.4895 GB, free: 18.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2898, allocations: 106.4 kB / 0.4896 GB, free: 18.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.2903, allocations: 448.5 kB / 0.49 GB, free: 18.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.2903, allocations: 33.23 kB / 0.4901 GB, free: 18.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2904, allocations: 159.9 kB / 0.4902 GB, free: 18.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2904, allocations: 54.44 kB / 0.4903 GB, free: 18.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.2905, allocations: 48.58 kB / 0.4903 GB, free: 18.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.2906, allocations: 348.2 kB / 0.4907 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2907, allocations: 44.62 kB / 0.4907 GB, free: 17.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2909, allocations: 152.2 kB / 0.4908 GB, free: 17.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2912, allocations: 189.1 kB / 0.491 GB, free: 17.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2912, allocations: 1.156 kB / 0.491 GB, free: 17.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003863/0.2915, allocations: 226.8 kB / 0.4912 GB, free: 17.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2916, allocations: 6.875 kB / 0.4912 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2916, allocations: 6.5 kB / 0.4912 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2916, allocations: 6.875 kB / 0.4913 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2917, allocations: 31.55 kB / 0.4913 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.2917, allocations: 11.28 kB / 0.4913 GB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2918, allocations: 25.5 kB / 0.4913 GB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2919, allocations: 7.594 kB / 0.4913 GB, free: 17.33 MB / 366.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.0001965/0.2921, allocations: 191.1 kB / 0.4915 GB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.2921, allocations: 35.11 kB / 0.4915 GB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.2922, allocations: 32.19 kB / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2922, allocations: 2.094 kB / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2922, allocations: 0 / 0.4916 GB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2922, allocations: 3.984 kB / 0.4916 GB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.2924, allocations: 312 kB / 0.4919 GB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2924, allocations: 1.094 kB / 0.4919 GB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.2925, allocations: 6.906 kB / 0.4919 GB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2925, allocations: 1.188 kB / 0.4919 GB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2925, allocations: 14.03 kB / 0.4919 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2925, allocations: 1.062 kB / 0.4919 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2925, allocations: 3.984 kB / 0.4919 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.2929, allocations: 260 kB / 0.4922 GB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.293, allocations: 109.8 kB / 0.4923 GB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.2931, allocations: 3.125 kB / 0.4923 GB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.2932, allocations: 12.58 kB / 0.4923 GB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2932, allocations: 18.17 kB / 0.4923 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2932, allocations: 14.52 kB / 0.4923 GB, free: 16.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.2935, allocations: 318.6 kB / 0.4926 GB, free: 16.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2935, allocations: 1.062 kB / 0.4926 GB, free: 16.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2939, allocations: 76.25 kB / 0.4927 GB, free: 16.3 MB / 366.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.001549/0.2954, allocations: 441.3 kB / 0.4931 GB, free: 16.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.2958, allocations: 151.8 kB / 0.4932 GB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2958, allocations: 5.125 kB / 0.4933 GB, free: 16.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.296, allocations: 64.95 kB / 0.4933 GB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2964, allocations: 83.45 kB / 0.4934 GB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.2972, allocations: 0.5397 MB / 0.4939 GB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.2974, allocations: 0.7796 MB / 0.4947 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.2975, allocations: 30.56 kB / 0.4947 GB, free: 14.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2975, allocations: 0 / 0.4947 GB, free: 14.83 MB / 366.1 MB Notification: Performance of Templates: time 0.007533/0.3051, allocations: 4.63 MB / 0.4992 GB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.650367101188749] Failed to read output from testmodel.py, exit status != 0: 0.3131171341519803 0.32251652 0.034791756 Calling exit ...