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.001843/0.001843, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002358/0.002358, allocations: 220.7 kB / 23 MB, free: 4.914 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.06589/0.06589, allocations: 11.35 MB / 324.5 MB, free: 8.035 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 71.89 kB / 452.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1146, allocations: 56.07 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003745/0.1183, allocations: 1.973 MB / 0.4983 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1208, allocations: 1.345 MB / 0.4996 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.121, allocations: 3.938 kB / 0.4996 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009144/0.1219, allocations: 303.1 kB / 0.4999 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.1225, allocations: 263.1 kB / 0.5002 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.1232, allocations: 262.5 kB / 0.5004 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1237, allocations: 367 kB / 0.5008 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1238, allocations: 32.91 kB / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.124, allocations: 151.4 kB / 0.5009 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1242, allocations: 151.4 kB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.1243, allocations: 20 kB / 0.5011 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1245, allocations: 127.8 kB / 0.5012 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1246, allocations: 83.69 kB / 0.5013 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1248, allocations: 103.3 kB / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.1253, allocations: 386.5 kB / 0.5018 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1253, allocations: 7.938 kB / 0.5018 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1253, allocations: 0 / 0.5018 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1253, allocations: 0 / 0.5018 GB, free: 12.11 MB / 382.1 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.001077/0.1264, allocations: 0.609 MB / 0.5024 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1264, allocations: 8.031 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.229e-05/0.1265, allocations: 32.75 kB / 0.5024 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.127, allocations: 292.6 kB / 0.5027 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.127, allocations: 12.31 kB / 0.5027 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.127, allocations: 15.98 kB / 0.5027 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1273, allocations: 121.6 kB / 0.5028 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1273, allocations: 4 kB / 0.5028 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1274, allocations: 4 kB / 0.5028 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1274, allocations: 0 / 0.5028 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1276, allocations: 75.95 kB / 0.5029 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.1282, allocations: 396.2 kB / 0.5033 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.1287, allocations: 154.6 kB / 0.5034 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1288, allocations: 52.92 kB / 0.5035 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1288, allocations: 4 kB / 0.5035 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.1291, allocations: 139.2 kB / 0.5036 GB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1291, allocations: 0 / 0.5036 GB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000666/0.1298, allocations: 311.9 kB / 0.5039 GB, free: 9.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1298, allocations: 59.41 kB / 0.504 GB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.1304, allocations: 441.6 kB / 0.5044 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1304, allocations: 33.7 kB / 0.5044 GB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1305, allocations: 160.5 kB / 0.5046 GB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1306, allocations: 43.69 kB / 0.5046 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.1307, allocations: 45.91 kB / 0.5047 GB, free: 8.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1308, allocations: 346.8 kB / 0.505 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.131, allocations: 60 kB / 0.5051 GB, free: 8.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.1312, allocations: 186.1 kB / 0.5052 GB, free: 8.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.1316, allocations: 208.2 kB / 0.5054 GB, free: 8.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1316, allocations: 0 / 0.5054 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000427/0.132, allocations: 241.2 kB / 0.5057 GB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.132, allocations: 8 kB / 0.5057 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.132, allocations: 3.938 kB / 0.5057 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.132, allocations: 4 kB / 0.5057 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1322, allocations: 31.92 kB / 0.5057 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.1322, allocations: 11.92 kB / 0.5057 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1323, allocations: 16.2 kB / 0.5057 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1323, allocations: 12 kB / 0.5057 GB, free: 7.777 MB / 382.1 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.0002506/0.1326, allocations: 180.3 kB / 0.5059 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.1326, allocations: 31.81 kB / 0.5059 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.1331, allocations: 266.6 kB / 0.5062 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1331, allocations: 4 kB / 0.5062 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1331, allocations: 4 kB / 0.5062 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1332, allocations: 3.984 kB / 0.5062 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1334, allocations: 225 kB / 0.5064 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1334, allocations: 0 / 0.5064 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.1335, allocations: 12 kB / 0.5064 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1335, allocations: 0 / 0.5064 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1335, allocations: 11.98 kB / 0.5065 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1335, allocations: 0 / 0.5065 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1335, allocations: 4.062 kB / 0.5065 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.134, allocations: 288.7 kB / 0.5067 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.134, allocations: 31.8 kB / 0.5068 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.1341, allocations: 8 kB / 0.5068 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1342, allocations: 11.98 kB / 0.5068 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1342, allocations: 7.984 kB / 0.5068 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.1343, allocations: 15.98 kB / 0.5068 GB, free: 6.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.1346, allocations: 319.1 kB / 0.5071 GB, free: 6.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1346, allocations: 0 / 0.5071 GB, free: 6.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.135, allocations: 67.88 kB / 0.5072 GB, free: 6.258 MB / 382.1 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.001744/0.1367, allocations: 490.6 kB / 0.5076 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1371, allocations: 162.3 kB / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1371, allocations: 0 / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1373, allocations: 75.91 kB / 0.5079 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1377, allocations: 80.06 kB / 0.5079 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009465/0.1386, allocations: 0.545 MB / 0.5085 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.1388, allocations: 174.1 kB / 0.5086 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.1389, allocations: 27.44 kB / 0.5087 GB, free: 4.859 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1389, allocations: 0 / 0.5087 GB, free: 4.859 MB / 382.1 MB Notification: Performance of Templates: time 0.007916/0.1468, allocations: 4.736 MB / 0.5133 GB, free: 140 kB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.966586119029671] Failed to read output from testmodel.py, exit status != 0: 0.41054367600008845 0.423884315 0.29547700000000005 Calling exit ...