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.0008217/0.0008217, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008493/0.0008493, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.03319/0.03319, allocations: 8.602 MB / 268.5 MB, free: 5.121 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 3.847e-06/3.847e-06, allocations: 7.938 kB / 396.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.858e-05, allocations: 5.375 kB / 396.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003139/0.003168, allocations: 1.972 MB / 398.3 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.005741, allocations: 1.34 MB / 399.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.005887, allocations: 7.938 kB / 399.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008903/0.006778, allocations: 309.8 kB / 400 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.007376, allocations: 262.9 kB / 400.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.008036, allocations: 262.5 kB / 400.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.00846, allocations: 375 kB / 400.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.008596, allocations: 36.89 kB / 400.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.008869, allocations: 199.5 kB / 401.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.009069, allocations: 143.6 kB / 401.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.009108, allocations: 20 kB / 401.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.009327, allocations: 123.8 kB / 401.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.009442, allocations: 95.67 kB / 401.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.009535, allocations: 71.77 kB / 401.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.01001, allocations: 406.7 kB / 401.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01001, allocations: 7.938 kB / 401.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01001, allocations: 0 / 401.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.01002, allocations: 0 / 401.9 MB, free: 11.39 MB / 330.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.000955/0.01097, allocations: 0.6167 MB / 402.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.01101, allocations: 12.03 kB / 402.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.0111, allocations: 40.69 kB / 402.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.01154, allocations: 276.1 kB / 402.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.01156, allocations: 8.562 kB / 402.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.01159, allocations: 12.31 kB / 402.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.01187, allocations: 141.6 kB / 403 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01188, allocations: 0 / 403 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.0119, allocations: 4 kB / 403 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.0119, allocations: 0 / 403 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.01208, allocations: 75.95 kB / 403.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.01275, allocations: 404.1 kB / 403.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.01315, allocations: 138.7 kB / 403.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.01328, allocations: 64.91 kB / 403.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.0133, allocations: 0 / 403.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.01355, allocations: 139.2 kB / 403.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.01355, allocations: 0 / 403.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006003/0.01415, allocations: 303 kB / 404.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.01419, allocations: 59.34 kB / 404.2 MB, free: 8.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.01468, allocations: 461.7 kB / 404.6 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.01471, allocations: 29.7 kB / 404.7 MB, free: 8.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01483, allocations: 180.4 kB / 404.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.01488, allocations: 43.67 kB / 404.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.01495, allocations: 49.7 kB / 404.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01507, allocations: 346.8 kB / 405.3 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.01519, allocations: 52.2 kB / 405.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.01538, allocations: 188.9 kB / 405.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.01569, allocations: 208.4 kB / 405.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01569, allocations: 0 / 405.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000378/0.01607, allocations: 241.2 kB / 405.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01609, allocations: 4 kB / 405.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01609, allocations: 7.938 kB / 405.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01611, allocations: 4 kB / 405.9 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01621, allocations: 31.92 kB / 406 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01622, allocations: 0 / 406 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01633, allocations: 27.88 kB / 406 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01635, allocations: 12.25 kB / 406 MB, free: 7.02 MB / 330.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.0004437/0.01679, allocations: 192.2 kB / 406.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.01684, allocations: 35.75 kB / 406.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.01732, allocations: 267 kB / 406.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01733, allocations: 4 kB / 406.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01733, allocations: 0 / 406.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01733, allocations: 7.984 kB / 406.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.01755, allocations: 225.1 kB / 406.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01756, allocations: 128 / 406.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.01761, allocations: 16 kB / 406.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01761, allocations: 7.938 kB / 406.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01763, allocations: 3.984 kB / 406.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.01763, allocations: 4 kB / 406.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01763, allocations: 0 / 406.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.01806, allocations: 280.7 kB / 407 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.01811, allocations: 39.73 kB / 407.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.01816, allocations: 15.94 kB / 407.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.01825, allocations: 7.984 kB / 407.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.0183, allocations: 15.97 kB / 407.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.01832, allocations: 8 kB / 407.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003397/0.01866, allocations: 331.1 kB / 407.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01866, allocations: 0 / 407.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.01898, allocations: 71.88 kB / 407.5 MB, free: 5.453 MB / 330.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.0007403/0.01972, allocations: 483.5 kB / 408 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.01997, allocations: 158.2 kB / 408.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01998, allocations: 0 / 408.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.02007, allocations: 75.91 kB / 408.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.02031, allocations: 79.41 kB / 408.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.0209, allocations: 0.5733 MB / 408.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.02101, allocations: 178.6 kB / 409 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.02106, allocations: 32.48 kB / 409.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02106, allocations: 0 / 409.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of Templates: time 0.124/0.1451, allocations: 4.806 MB / 413.9 MB, free: 28.99 MB / 330.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.576898232102394] Failed to read output from testmodel.py, exit status != 0: 0.151421838440001 0.15863880600000002 0.146834144 Calling exit ...