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.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.000971/0.000971, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.00242, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009548/0.0009548, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009693/0.001924, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08608/1.092, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.07168/0.07168, allocations: 8.612 MB / 252.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0126/0.08428, allocations: 3.137 MB / 255.9 MB, free: 3.48 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_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.55e-05, allocations: 14.25 kB / 257.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003272/0.003288, allocations: 2.087 MB / 259.3 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004829, allocations: 1.398 MB / 260.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.004923, allocations: 0 / 260.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.005536, allocations: 299 kB / 261 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.005854, allocations: 278.8 kB / 261.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.006179, allocations: 263.1 kB / 261.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.006457, allocations: 367 kB / 261.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.00655, allocations: 38.86 kB / 261.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.006786, allocations: 277.3 kB / 262.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.006922, allocations: 139.6 kB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.006948, allocations: 20 kB / 262.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.00712, allocations: 131.8 kB / 262.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.007199, allocations: 75.72 kB / 262.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.00726, allocations: 59.81 kB / 262.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.007526, allocations: 274.9 kB / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.007536, allocations: 0 / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007536, allocations: 0 / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.007545, allocations: 0 / 262.8 MB, free: 12.49 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.0006152/0.00816, allocations: 0.6345 MB / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.008189, allocations: 11.98 kB / 263.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.008245, allocations: 28.91 kB / 263.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.008488, allocations: 260.8 kB / 263.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.008504, allocations: 12.5 kB / 263.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.008523, allocations: 16.36 kB / 263.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.008657, allocations: 103 kB / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.008664, allocations: 0 / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.008674, allocations: 3.984 kB / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.008682, allocations: 4 kB / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.008723, allocations: 27.92 kB / 263.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.009028, allocations: 257.6 kB / 264.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.009482, allocations: 133.2 kB / 264.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.009515, allocations: 28.84 kB / 264.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.009526, allocations: 0 / 264.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.009653, allocations: 117.9 kB / 264.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.009654, allocations: 0 / 264.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001738/0.009828, allocations: 129.6 kB / 264.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.00986, allocations: 59.41 kB / 264.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01006, allocations: 337 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01008, allocations: 33.7 kB / 265 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.01013, allocations: 133.4 kB / 265.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.01018, allocations: 47.62 kB / 265.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.01023, allocations: 49.67 kB / 265.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.01031, allocations: 350.7 kB / 265.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.01034, allocations: 22.98 kB / 265.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.01041, allocations: 142.2 kB / 265.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01052, allocations: 144.9 kB / 265.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01052, allocations: 0 / 265.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001347/0.01066, allocations: 155 kB / 266 MB, free: 9.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01067, allocations: 11.94 kB / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01067, allocations: 0 / 266 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01068, allocations: 4 kB / 266 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.01076, allocations: 43.91 kB / 266.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01077, allocations: 4 kB / 266.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.01083, allocations: 24.14 kB / 266.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.01084, allocations: 8 kB / 266.1 MB, free: 8.945 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 0.0001067/0.01094, allocations: 143.8 kB / 266.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.01096, allocations: 23.97 kB / 266.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.01111, allocations: 136.7 kB / 266.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01111, allocations: 4 kB / 266.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.01111, allocations: 4 kB / 266.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01112, allocations: 3.938 kB / 266.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01125, allocations: 149.6 kB / 266.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01125, allocations: 4 kB / 266.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.01128, allocations: 8 kB / 266.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.01131, allocations: 31.75 kB / 266.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01131, allocations: 4.109 kB / 266.6 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01132, allocations: 11.94 kB / 266.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01132, allocations: 4 kB / 266.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01132, allocations: 0 / 266.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.01144, allocations: 153.9 kB / 266.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01147, allocations: 8 kB / 266.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.01151, allocations: 7.984 kB / 266.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.01155, allocations: 23.91 kB / 266.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01156, allocations: 4 kB / 266.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.01166, allocations: 147.5 kB / 267 MB, free: 8.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01166, allocations: 0 / 267 MB, free: 8.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.01183, allocations: 63.94 kB / 267 MB, free: 7.973 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.00118/0.01301, allocations: 0.5863 MB / 267.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01315, allocations: 108.6 kB / 267.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.01316, allocations: 4 kB / 267.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.01322, allocations: 59.7 kB / 267.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.01354, allocations: 464.1 kB / 268.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.01413, allocations: 475.3 kB / 268.7 MB, free: 6.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.01418, allocations: 96.3 kB / 268.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.617e-05/0.01424, allocations: 42.94 kB / 268.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01435, allocations: 95.36 kB / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01435, allocations: 0 / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Templates: time 0.006368/0.02071, allocations: 5.023 MB / 274 MB, free: 1.176 MB / 266.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6706663174554706]