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.001053/0.001053, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001857/0.001857, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9674/0.9674, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.03847/0.03847, allocations: 8.62 MB / 268.9 MB, free: 5.004 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.894e-06/1.894e-06, allocations: 0 / 340.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.181e-05, allocations: 10.19 kB / 340.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002257/0.002289, allocations: 2.041 MB / 342.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003649, allocations: 1.364 MB / 344.3 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.003748, allocations: 7.938 kB / 344.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.004312, allocations: 299.1 kB / 344.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.004618, allocations: 270.9 kB / 344.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.00491, allocations: 251.2 kB / 345.1 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.00513, allocations: 378.9 kB / 345.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005233, allocations: 40.84 kB / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.005371, allocations: 195.5 kB / 345.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.005487, allocations: 139.6 kB / 345.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.00551, allocations: 20 kB / 345.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.005646, allocations: 123.8 kB / 346 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.005715, allocations: 87.69 kB / 346.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.005775, allocations: 71.77 kB / 346.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.006027, allocations: 298.9 kB / 346.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006029, allocations: 0 / 346.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00603, allocations: 0 / 346.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006035, allocations: 4 kB / 346.4 MB, free: 3.176 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.0005696/0.006605, allocations: 0.7088 MB / 347.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.006635, allocations: 8.031 kB / 347.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.006703, allocations: 48.7 kB / 347.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.006952, allocations: 291.5 kB / 347.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.006968, allocations: 8.562 kB / 347.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.006985, allocations: 16.36 kB / 347.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.007138, allocations: 104.7 kB / 347.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.007145, allocations: 0 / 347.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.007157, allocations: 11.94 kB / 347.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.007165, allocations: 0 / 347.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.007234, allocations: 39.97 kB / 347.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.007618, allocations: 447.4 kB / 348.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.007807, allocations: 103.1 kB / 348.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.007856, allocations: 39.84 kB / 348.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.007868, allocations: 4 kB / 348.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.008, allocations: 122.2 kB / 348.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.008001, allocations: 0 / 348.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.000299/0.0083, allocations: 239.9 kB / 348.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.008326, allocations: 59.41 kB / 348.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.008555, allocations: 406.6 kB / 349.1 MB, free: 384 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.008566, allocations: 29.7 kB / 349.1 MB, free: 348 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.008638, allocations: 215.3 kB / 349.3 MB, free: 128 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.008667, allocations: 55.62 kB / 349.3 MB, free: 72 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.008707, allocations: 51.36 kB / 349.4 MB, free: 12 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.008865, allocations: 0.5196 MB / 349.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.008911, allocations: 24.22 kB / 349.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.009026, allocations: 192 kB / 350.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.009176, allocations: 176.8 kB / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009178, allocations: 0 / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002046/0.009383, allocations: 197.1 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.009395, allocations: 4.25 kB / 350.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.0094, allocations: 8 kB / 350.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.009413, allocations: 4 kB / 350.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.009487, allocations: 35.92 kB / 350.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.009494, allocations: 4 kB / 350.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.009555, allocations: 23.88 kB / 350.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.009566, allocations: 8 kB / 350.6 MB, free: 14.71 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.0001465/0.009712, allocations: 195.2 kB / 350.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.009754, allocations: 51.69 kB / 350.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.01001, allocations: 208.8 kB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01002, allocations: 3.938 kB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01002, allocations: 4 kB / 351 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01002, allocations: 0 / 351 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01021, allocations: 228.5 kB / 351.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01022, allocations: 0 / 351.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.01024, allocations: 15.92 kB / 351.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01025, allocations: 3.938 kB / 351.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01026, allocations: 12 kB / 351.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01026, allocations: 0 / 351.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01026, allocations: 0 / 351.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.0105, allocations: 258.3 kB / 351.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.01052, allocations: 27.75 kB / 351.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.01056, allocations: 11.94 kB / 351.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.0106, allocations: 11.98 kB / 351.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.01064, allocations: 15.97 kB / 351.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01066, allocations: 8 kB / 351.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.01083, allocations: 275 kB / 351.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01083, allocations: 8 kB / 351.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.01103, allocations: 67.88 kB / 352 MB, free: 13.26 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.0008016/0.01183, allocations: 423 kB / 352.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.01202, allocations: 119.5 kB / 352.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01202, allocations: 0 / 352.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.0121, allocations: 63.59 kB / 352.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01235, allocations: 92.42 kB / 352.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.01286, allocations: 461.9 kB / 353.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.01292, allocations: 100.2 kB / 353.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.01299, allocations: 42.89 kB / 353.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.01304, allocations: 32.5 kB / 353.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01304, allocations: 0 / 353.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005985/0.01902, allocations: 4.478 MB / 357.7 MB, free: 7.633 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: 2.9530754301231354]