Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.001505/0.001505, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001561/0.001561, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 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.09533/0.09533, allocations: 11.35 MB / 323.8 MB, free: 8.012 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_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") [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.002098/0.002098, allocations: 75.88 kB / 451.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1107, allocations: 56.07 MB / 0.4956 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003542/0.1143, allocations: 1.967 MB / 0.4976 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1168, allocations: 1.333 MB / 0.4989 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1169, allocations: 7.938 kB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.1178, allocations: 290.3 kB / 0.4991 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.1183, allocations: 251.1 kB / 0.4994 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.1189, allocations: 258.4 kB / 0.4996 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.1194, allocations: 359 kB / 0.5 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1195, allocations: 28.92 kB / 0.5 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1197, allocations: 155.4 kB / 0.5001 GB, free: 13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1199, allocations: 147.4 kB / 0.5003 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.12, allocations: 20 kB / 0.5003 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.1202, allocations: 115.9 kB / 0.5004 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1203, allocations: 79.69 kB / 0.5005 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1204, allocations: 87.41 kB / 0.5006 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.1209, allocations: 374.5 kB / 0.5009 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1209, allocations: 0 / 0.5009 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1209, allocations: 0 / 0.5009 GB, free: 12.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.121, allocations: 0 / 0.5009 GB, free: 12.19 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.001015/0.122, allocations: 0.5935 MB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.122, allocations: 19.91 kB / 0.5015 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.1221, allocations: 32.75 kB / 0.5016 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.1225, allocations: 270.5 kB / 0.5018 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1225, allocations: 8.312 kB / 0.5018 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1226, allocations: 12 kB / 0.5018 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1229, allocations: 129.5 kB / 0.502 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1229, allocations: 0 / 0.502 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1229, allocations: 4 kB / 0.502 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1229, allocations: 4 kB / 0.502 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1231, allocations: 74.39 kB / 0.502 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.1238, allocations: 400 kB / 0.5024 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.1241, allocations: 134.8 kB / 0.5026 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1243, allocations: 52.83 kB / 0.5026 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1243, allocations: 3.938 kB / 0.5026 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1246, allocations: 135.3 kB / 0.5027 GB, free: 10.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.1246, allocations: 0 / 0.5027 GB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006264/0.1252, allocations: 283.3 kB / 0.503 GB, free: 9.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1252, allocations: 55.41 kB / 0.5031 GB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.1257, allocations: 400.5 kB / 0.5034 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.1258, allocations: 33.7 kB / 0.5035 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1259, allocations: 160.4 kB / 0.5036 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.126, allocations: 51.61 kB / 0.5037 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.126, allocations: 45.7 kB / 0.5037 GB, free: 9.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1262, allocations: 350.7 kB / 0.5041 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1263, allocations: 52.17 kB / 0.5041 GB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.1266, allocations: 183.2 kB / 0.5043 GB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.1269, allocations: 200.5 kB / 0.5045 GB, free: 8.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1269, allocations: 0 / 0.5045 GB, free: 8.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004398/0.1274, allocations: 229.2 kB / 0.5047 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1274, allocations: 4 kB / 0.5047 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1274, allocations: 4 kB / 0.5047 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1274, allocations: 8.25 kB / 0.5047 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1275, allocations: 31.92 kB / 0.5047 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1275, allocations: 0 / 0.5047 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1277, allocations: 27.88 kB / 0.5048 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1277, allocations: 12 kB / 0.5048 GB, free: 7.996 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.run:DISCRETE(fixed = true ) \"Flag: true while the timer is counting\" 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: 22 ($PRE.timer.Sd,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$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,timer.Sd) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002352/0.1279, allocations: 172.3 kB / 0.5049 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.128, allocations: 39.75 kB / 0.505 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.1285, allocations: 236.7 kB / 0.5052 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1285, allocations: 7.938 kB / 0.5052 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1285, allocations: 0 / 0.5052 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1285, allocations: 7.969 kB / 0.5052 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1287, allocations: 229.2 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1287, allocations: 0 / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1288, allocations: 8 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1288, allocations: 0 / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1288, allocations: 11.94 kB / 0.5055 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1288, allocations: 4 kB / 0.5055 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1288, allocations: 3.984 kB / 0.5055 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1293, allocations: 266.8 kB / 0.5057 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1293, allocations: 27.75 kB / 0.5057 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.1294, allocations: 8 kB / 0.5057 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.1295, allocations: 11.98 kB / 0.5058 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.1296, allocations: 15.97 kB / 0.5058 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1296, allocations: 8 kB / 0.5058 GB, free: 6.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.1299, allocations: 291 kB / 0.5061 GB, free: 6.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 4 kB / 0.5061 GB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.1303, allocations: 67.86 kB / 0.5061 GB, free: 6.535 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,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 (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001757/0.132, allocations: 471.7 kB / 0.5066 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.1324, allocations: 151.8 kB / 0.5067 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1324, allocations: 3.938 kB / 0.5067 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1326, allocations: 76.31 kB / 0.5068 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.133, allocations: 82.8 kB / 0.5069 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.1338, allocations: 484 kB / 0.5073 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.134, allocations: 163.1 kB / 0.5075 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.1342, allocations: 38.27 kB / 0.5075 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.1342, allocations: 35.42 kB / 0.5076 GB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1342, allocations: 0 / 0.5076 GB, free: 5.207 MB / 382.1 MB Notification: Performance of Templates: time 0.009701/0.1439, allocations: 4.485 MB / 0.5119 GB, free: 0.7773 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0719462018460035] Failed to read output from testmodel.py, exit status != 0: 0.36463430896401405 0.380398412 0.256845952 Calling exit ...