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.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.001933/0.001933, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002044/0.002044, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.07332/0.07332, allocations: 8.614 MB / 268.2 MB, free: 4.938 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.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.843e-05, allocations: 2.312 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002565/0.002583, allocations: 2.021 MB / 342.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.004408, allocations: 1.368 MB / 343.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.004512, allocations: 3.938 kB / 343.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.00524, allocations: 303.1 kB / 343.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.005696, allocations: 266.9 kB / 344.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.006151, allocations: 251.2 kB / 344.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.00642, allocations: 371 kB / 344.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.006529, allocations: 36.89 kB / 344.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.006728, allocations: 195.5 kB / 344.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.006874, allocations: 151.6 kB / 345.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.006911, allocations: 16 kB / 345.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.007097, allocations: 123.8 kB / 345.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.007177, allocations: 87.69 kB / 345.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.00725, allocations: 71.77 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.007586, allocations: 398.7 kB / 345.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007588, allocations: 0 / 345.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007589, allocations: 0 / 345.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.007595, allocations: 0 / 345.8 MB, free: 3.09 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007543/0.008349, allocations: 0.7397 MB / 346.5 MB, free: 2.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.008377, allocations: 8.031 kB / 346.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.008458, allocations: 48.7 kB / 346.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.008792, allocations: 279 kB / 346.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.008811, allocations: 12.55 kB / 346.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.008831, allocations: 12.38 kB / 346.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.009045, allocations: 121.7 kB / 347 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.009055, allocations: 0 / 347 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.009069, allocations: 4 kB / 347 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.009074, allocations: 7.938 kB / 347 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.009217, allocations: 67.95 kB / 347 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.009779, allocations: 495.3 kB / 347.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.01011, allocations: 135.2 kB / 347.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.01021, allocations: 55.75 kB / 347.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.01023, allocations: 0 / 347.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.01044, allocations: 148.8 kB / 347.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.01044, allocations: 4 kB / 347.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005146/0.01096, allocations: 279.5 kB / 348.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.01098, allocations: 59.34 kB / 348.2 MB, free: 496 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.01137, allocations: 482.8 kB / 348.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.01141, allocations: 33.7 kB / 348.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.01163, allocations: 239.2 kB / 348.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.0117, allocations: 51.64 kB / 349 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.0118, allocations: 63.36 kB / 349 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003542/0.01216, allocations: 0.543 MB / 349.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.01227, allocations: 36.22 kB / 349.6 MB, free: 15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.01256, allocations: 212.8 kB / 349.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.01292, allocations: 220.7 kB / 350 MB, free: 14.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01292, allocations: 0 / 350 MB, free: 14.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004481/0.01337, allocations: 233.2 kB / 350.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.0134, allocations: 7.984 kB / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01341, allocations: 4 kB / 350.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01343, allocations: 4 kB / 350.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.01356, allocations: 35.92 kB / 350.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.01357, allocations: 4 kB / 350.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01369, allocations: 16.14 kB / 350.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01371, allocations: 23.92 kB / 350.4 MB, free: 14.14 MB / 282.7 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.0002361/0.01395, allocations: 199.3 kB / 350.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.01402, allocations: 39.7 kB / 350.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005386/0.01455, allocations: 248.7 kB / 350.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.01456, allocations: 4 kB / 350.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01456, allocations: 3.938 kB / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01457, allocations: 4 kB / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.01493, allocations: 276.4 kB / 351.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01494, allocations: 0 / 351.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.01499, allocations: 15.98 kB / 351.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.015, allocations: 3.938 kB / 351.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.01501, allocations: 8 kB / 351.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01502, allocations: 0 / 351.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01502, allocations: 0 / 351.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.01556, allocations: 288 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.01563, allocations: 39.73 kB / 351.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.01568, allocations: 7.938 kB / 351.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.01577, allocations: 11.98 kB / 351.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.01584, allocations: 15.98 kB / 351.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.01586, allocations: 7.984 kB / 351.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000395/0.01626, allocations: 319.1 kB / 351.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01626, allocations: 0 / 351.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.01661, allocations: 63.89 kB / 351.9 MB, free: 12.55 MB / 282.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: 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 (19): * Single equations (assignments): 11 * 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.003006/0.01961, allocations: 486.4 kB / 352.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.02002, allocations: 162.1 kB / 352.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02002, allocations: 0 / 352.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.0202, allocations: 83.59 kB / 352.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.02067, allocations: 90.22 kB / 352.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.02161, allocations: 494.8 kB / 353.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.02182, allocations: 170.6 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.02194, allocations: 39.2 kB / 353.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.02203, allocations: 36.48 kB / 353.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02203, allocations: 0 / 353.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01036/0.03239, allocations: 4.439 MB / 357.9 MB, free: 6.789 MB / 282.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.626532074995339]