Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.001281/0.001281, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001233/0.001233, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.32/1.32, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 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.05893/0.05893, allocations: 11.32 MB / 315.8 MB, free: 384 kB / 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/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_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.91 kB / 440.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2481, allocations: 54.82 MB / 495.4 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002883/0.251, allocations: 2.034 MB / 497.5 MB, free: 23.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2527, allocations: 1.278 MB / 498.8 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2528, allocations: 2.906 kB / 498.8 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.2535, allocations: 268 kB / 499 MB, free: 21.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.2539, allocations: 210.4 kB / 499.2 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.2545, allocations: 316.8 kB / 499.5 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.2548, allocations: 332.2 kB / 499.9 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.255, allocations: 33.23 kB / 499.9 MB, free: 21.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2551, allocations: 142.8 kB / 0.4883 GB, free: 21.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2553, allocations: 149.9 kB / 0.4885 GB, free: 21.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2553, allocations: 21.09 kB / 0.4885 GB, free: 21.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2555, allocations: 106.9 kB / 0.4886 GB, free: 21.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.2556, allocations: 75.94 kB / 0.4886 GB, free: 21.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.2556, allocations: 119.6 kB / 0.4888 GB, free: 21.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.256, allocations: 355.7 kB / 0.4891 GB, free: 20.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.256, allocations: 0 / 0.4891 GB, free: 20.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.256, allocations: 1.125 kB / 0.4891 GB, free: 20.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.256, allocations: 0 / 0.4891 GB, free: 20.82 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.0007831/0.2568, allocations: 0.6618 MB / 0.4898 GB, free: 20.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2568, allocations: 12.8 kB / 0.4898 GB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.2569, allocations: 35.45 kB / 0.4898 GB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.2572, allocations: 323.2 kB / 0.4901 GB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2572, allocations: 12.75 kB / 0.4901 GB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2573, allocations: 15.11 kB / 0.4901 GB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2575, allocations: 150.6 kB / 0.4903 GB, free: 19.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2575, allocations: 0 / 0.4903 GB, free: 19.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2576, allocations: 6.031 kB / 0.4903 GB, free: 19.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2576, allocations: 1.969 kB / 0.4903 GB, free: 19.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.2577, allocations: 71.23 kB / 0.4904 GB, free: 19.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.2583, allocations: 478.1 kB / 0.4908 GB, free: 19.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.2586, allocations: 137.5 kB / 0.4909 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2587, allocations: 51.98 kB / 0.491 GB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.2588, allocations: 2.281 kB / 0.491 GB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.259, allocations: 128.3 kB / 0.4911 GB, free: 19.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.259, allocations: 0 / 0.4911 GB, free: 19.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005367/0.2595, allocations: 264 kB / 0.4914 GB, free: 18.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2596, allocations: 111.3 kB / 0.4915 GB, free: 18.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2599, allocations: 380.5 kB / 0.4918 GB, free: 18.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2599, allocations: 33.36 kB / 0.4919 GB, free: 18.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.26, allocations: 158.6 kB / 0.492 GB, free: 18.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.26, allocations: 51.19 kB / 0.4921 GB, free: 18.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.2601, allocations: 50.88 kB / 0.4921 GB, free: 18.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.2601, allocations: 343.8 kB / 0.4924 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.2602, allocations: 46.91 kB / 0.4925 GB, free: 17.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2604, allocations: 146.2 kB / 0.4926 GB, free: 17.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2606, allocations: 182.8 kB / 0.4928 GB, free: 17.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2606, allocations: 0 / 0.4928 GB, free: 17.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003204/0.2609, allocations: 223.4 kB / 0.493 GB, free: 17.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.261, allocations: 6.719 kB / 0.493 GB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.261, allocations: 6.531 kB / 0.493 GB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.261, allocations: 3.406 kB / 0.493 GB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2611, allocations: 30.55 kB / 0.4931 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2611, allocations: 7.062 kB / 0.4931 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2612, allocations: 33.7 kB / 0.4931 GB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2612, allocations: 11.84 kB / 0.4931 GB, free: 17.45 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.run:DISCRETE(fixed = true ) \"Flag: true while the timer is counting\" 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: 22 ($PRE.timer.Sd,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$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,timer.Sd) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000164/0.2614, allocations: 173.2 kB / 0.4933 GB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.2614, allocations: 34.09 kB / 0.4933 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.2618, allocations: 228.3 kB / 0.4935 GB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2618, allocations: 6.5 kB / 0.4935 GB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2618, allocations: 0 / 0.4935 GB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2618, allocations: 0 / 0.4935 GB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.262, allocations: 291.5 kB / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.262, allocations: 0 / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.2621, allocations: 6.969 kB / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2621, allocations: 1.094 kB / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2621, allocations: 11.39 kB / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2621, allocations: 0 / 0.4938 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2621, allocations: 5.375 kB / 0.4938 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.2624, allocations: 257.1 kB / 0.4941 GB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.2625, allocations: 100.4 kB / 0.4942 GB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.2625, allocations: 7.156 kB / 0.4942 GB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.2626, allocations: 16.77 kB / 0.4942 GB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.2627, allocations: 9.703 kB / 0.4942 GB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.2627, allocations: 6.812 kB / 0.4942 GB, free: 16.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.2629, allocations: 290.3 kB / 0.4945 GB, free: 16.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2629, allocations: 0 / 0.4945 GB, free: 16.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000302/0.2632, allocations: 63.31 kB / 0.4945 GB, free: 16.36 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,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 (16): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.00139/0.2646, allocations: 449.6 kB / 0.495 GB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.2649, allocations: 139.9 kB / 0.4951 GB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2649, allocations: 9.031 kB / 0.4951 GB, free: 16.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2651, allocations: 67.44 kB / 0.4952 GB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2654, allocations: 71.39 kB / 0.4953 GB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.2661, allocations: 467 kB / 0.4957 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2663, allocations: 0.7775 MB / 0.4965 GB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.2664, allocations: 38.23 kB / 0.4965 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.2665, allocations: 33.45 kB / 0.4965 GB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2665, allocations: 0 / 0.4965 GB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.00818/0.2747, allocations: 4.163 MB / 0.5006 GB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3801628658548]