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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 103.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 189.9 kB / 21.34 MB, free: 0.9961 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06381/0.06381, allocations: 11.34 MB / 316.4 MB, free: 464 kB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 441.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 54.81 MB / 495.9 MB, free: 24.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002988/0.3141, allocations: 2.012 MB / 497.9 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.316, allocations: 1.274 MB / 499.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3161, allocations: 2.75 kB / 499.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.317, allocations: 308.5 kB / 499.5 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.3174, allocations: 206.9 kB / 499.7 MB, free: 21.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.3181, allocations: 320.7 kB / 500 MB, free: 21.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.3184, allocations: 347.1 kB / 0.4886 GB, free: 21.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3185, allocations: 28.98 kB / 0.4886 GB, free: 21.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3187, allocations: 153.3 kB / 0.4888 GB, free: 21.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.3189, allocations: 161.7 kB / 0.4889 GB, free: 21.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3189, allocations: 18.5 kB / 0.4889 GB, free: 21.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.3191, allocations: 122.5 kB / 0.4891 GB, free: 21.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.3192, allocations: 85.58 kB / 0.4891 GB, free: 21.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3193, allocations: 125.2 kB / 0.4893 GB, free: 21.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3197, allocations: 385.8 kB / 0.4896 GB, free: 20.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3198, allocations: 0 / 0.4896 GB, free: 20.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3198, allocations: 3.938 kB / 0.4896 GB, free: 20.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3198, allocations: 1.344 kB / 0.4896 GB, free: 20.89 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.0009074/0.3207, allocations: 0.6876 MB / 0.4903 GB, free: 20.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3207, allocations: 10.44 kB / 0.4903 GB, free: 20.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.3208, allocations: 32.34 kB / 0.4903 GB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3212, allocations: 339.7 kB / 0.4907 GB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3212, allocations: 13.52 kB / 0.4907 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3212, allocations: 11.66 kB / 0.4907 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3215, allocations: 153.5 kB / 0.4908 GB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3215, allocations: 0 / 0.4908 GB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3215, allocations: 6.406 kB / 0.4908 GB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3215, allocations: 2.125 kB / 0.4908 GB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3217, allocations: 75.2 kB / 0.4909 GB, free: 19.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.3223, allocations: 482.8 kB / 0.4914 GB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3227, allocations: 146.7 kB / 0.4915 GB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3228, allocations: 57.86 kB / 0.4916 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3229, allocations: 1.75 kB / 0.4916 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.3231, allocations: 141.4 kB / 0.4917 GB, free: 19.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.3231, allocations: 0 / 0.4917 GB, free: 19.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005951/0.3237, allocations: 285.7 kB / 0.492 GB, free: 18.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3238, allocations: 111.3 kB / 0.4921 GB, free: 18.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.3242, allocations: 439.7 kB / 0.4925 GB, free: 18.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3242, allocations: 36.17 kB / 0.4925 GB, free: 18.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.3243, allocations: 164.9 kB / 0.4927 GB, free: 18.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.3244, allocations: 51.39 kB / 0.4927 GB, free: 18.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.3244, allocations: 47.83 kB / 0.4928 GB, free: 18.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.3245, allocations: 351.8 kB / 0.4931 GB, free: 17.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3246, allocations: 48.41 kB / 0.4932 GB, free: 17.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3248, allocations: 148.6 kB / 0.4933 GB, free: 17.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.325, allocations: 185.5 kB / 0.4935 GB, free: 17.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.325, allocations: 1.312 kB / 0.4935 GB, free: 17.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003544/0.3254, allocations: 238.3 kB / 0.4937 GB, free: 17.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3254, allocations: 7.906 kB / 0.4937 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3254, allocations: 2.562 kB / 0.4937 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3254, allocations: 3.688 kB / 0.4937 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3256, allocations: 26.92 kB / 0.4938 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3256, allocations: 6.938 kB / 0.4938 GB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.3257, allocations: 29.91 kB / 0.4938 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3257, allocations: 8.188 kB / 0.4938 GB, free: 17.43 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.0001755/0.3259, allocations: 187.2 kB / 0.494 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.3259, allocations: 34.86 kB / 0.494 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.3264, allocations: 249.5 kB / 0.4943 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3264, allocations: 2.781 kB / 0.4943 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3264, allocations: 0 / 0.4943 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3264, allocations: 3.984 kB / 0.4943 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3266, allocations: 308.6 kB / 0.4946 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3266, allocations: 0 / 0.4946 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.3266, allocations: 10.69 kB / 0.4946 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3266, allocations: 1.031 kB / 0.4946 GB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3267, allocations: 6.219 kB / 0.4946 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3267, allocations: 5.062 kB / 0.4946 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3267, allocations: 3.984 kB / 0.4946 GB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3271, allocations: 261.9 kB / 0.4948 GB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.3271, allocations: 113.5 kB / 0.4949 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3272, allocations: 7.75 kB / 0.4949 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.3273, allocations: 8.641 kB / 0.495 GB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3273, allocations: 13.8 kB / 0.495 GB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.3273, allocations: 10.52 kB / 0.495 GB, free: 16.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.3276, allocations: 323.2 kB / 0.4953 GB, free: 16.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3276, allocations: 0 / 0.4953 GB, free: 16.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.328, allocations: 73.55 kB / 0.4954 GB, free: 16.29 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,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * 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.001467/0.3295, allocations: 451.5 kB / 0.4958 GB, free: 16.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.3298, allocations: 149.6 kB / 0.4959 GB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3298, allocations: 8.125 kB / 0.4959 GB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.33, allocations: 75 kB / 0.496 GB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3304, allocations: 78.83 kB / 0.4961 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3312, allocations: 0.545 MB / 0.4966 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3313, allocations: 0.7783 MB / 0.4974 GB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.3314, allocations: 26.66 kB / 0.4974 GB, free: 14.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3314, allocations: 1.281 kB / 0.4974 GB, free: 14.8 MB / 366.1 MB Notification: Performance of Templates: time 0.006891/0.3383, allocations: 4.617 MB / 0.5019 GB, free: 12.39 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]