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.0008067/0.0008067, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000854/0.000854, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8844/0.8844, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03564/0.03564, allocations: 8.618 MB / 268.9 MB, free: 4.789 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.172e-06/1.172e-06, allocations: 0 / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.112e-05, allocations: 2.312 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.09636/0.09637, allocations: 2.033 MB / 290.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.09796, allocations: 1.384 MB / 291.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.09807, allocations: 5.188 kB / 291.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.09872, allocations: 299.1 kB / 291.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.09913, allocations: 265.1 kB / 292 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.09962, allocations: 262.3 kB / 292.3 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.09996, allocations: 376.2 kB / 292.7 MB, free: 18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.1001, allocations: 30.05 kB / 292.7 MB, free: 18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1003, allocations: 196.2 kB / 292.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1004, allocations: 143.2 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1005, allocations: 19.25 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1007, allocations: 124.3 kB / 293.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.1007, allocations: 89.05 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.1008, allocations: 74.06 kB / 293.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1011, allocations: 299.1 kB / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1011, allocations: 0 / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1011, allocations: 0 / 293.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1011, allocations: 0 / 293.6 MB, free: 17.82 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.0005494/0.1017, allocations: 0.5798 MB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.1017, allocations: 10.78 kB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1018, allocations: 28.06 kB / 294.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.102, allocations: 248.6 kB / 294.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.102, allocations: 12.47 kB / 294.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.102, allocations: 14.11 kB / 294.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1022, allocations: 100.1 kB / 294.6 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1022, allocations: 0 / 294.6 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1022, allocations: 6.953 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1022, allocations: 2.281 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.1022, allocations: 25.08 kB / 294.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1026, allocations: 265.8 kB / 294.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1027, allocations: 128.9 kB / 295 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.1028, allocations: 29.03 kB / 295 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1028, allocations: 2.844 kB / 295 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.1029, allocations: 111.8 kB / 295.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.1029, allocations: 1.031 kB / 295.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002061/0.1031, allocations: 133.6 kB / 295.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1032, allocations: 57.34 kB / 295.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1034, allocations: 332.8 kB / 295.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1034, allocations: 32.89 kB / 295.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.1034, allocations: 124.3 kB / 295.8 MB, free: 16.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1035, allocations: 59.17 kB / 295.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1035, allocations: 43.25 kB / 295.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.1035, allocations: 351 kB / 296.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.1036, allocations: 24.25 kB / 296.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.1036, allocations: 151.4 kB / 296.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1037, allocations: 142.1 kB / 296.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1037, allocations: 0 / 296.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001508/0.1039, allocations: 154.5 kB / 296.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1039, allocations: 12.06 kB / 296.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1039, allocations: 2.719 kB / 296.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1039, allocations: 3.188 kB / 296.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.104, allocations: 32.83 kB / 296.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.104, allocations: 4.891 kB / 296.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.1041, allocations: 22.72 kB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1041, allocations: 6.406 kB / 296.8 MB, free: 15.55 MB / 266.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 9.498e-05/0.1042, allocations: 150.6 kB / 297 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1042, allocations: 27.66 kB / 297 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.1043, allocations: 130.8 kB / 297.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1043, allocations: 3.344 kB / 297.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1043, allocations: 0 / 297.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1044, allocations: 2.609 kB / 297.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1045, allocations: 140.7 kB / 297.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1045, allocations: 0 / 297.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.1045, allocations: 14.45 kB / 297.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1045, allocations: 1.938 kB / 297.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1045, allocations: 7.312 kB / 297.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1045, allocations: 2.719 kB / 297.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1045, allocations: 4.688 kB / 297.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1046, allocations: 152.2 kB / 297.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.1047, allocations: 27.92 kB / 297.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1047, allocations: 6.547 kB / 297.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.1047, allocations: 9.031 kB / 297.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1048, allocations: 20.16 kB / 297.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1048, allocations: 11.98 kB / 297.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1049, allocations: 147 kB / 297.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1049, allocations: 0 / 297.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.1051, allocations: 67.33 kB / 297.7 MB, free: 15.06 MB / 266.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.001029/0.1061, allocations: 0.5362 MB / 298.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1063, allocations: 97.03 kB / 298.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1063, allocations: 4.938 kB / 298.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.1063, allocations: 51.17 kB / 298.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1065, allocations: 88.28 kB / 298.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.107, allocations: 459.1 kB / 298.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.787e-05/0.107, allocations: 103.2 kB / 299 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.1071, allocations: 42.06 kB / 299.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1072, allocations: 97.39 kB / 299.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1072, allocations: 4 kB / 299.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Templates: time 0.006211/0.1134, allocations: 4.862 MB / 304 MB, free: 12.55 MB / 266.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.4889930272474885]