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.001353/0.001353, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001661/0.001661, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.969 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.06691/0.06691, allocations: 11.34 MB / 323.8 MB, free: 8.191 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: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On",fmuType="me",version="2.0",platforms={"static"}) [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.002113/0.002113, allocations: 63.91 kB / 451 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1123, allocations: 56.07 MB / 0.4952 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.004192/0.1165, allocations: 2.045 MB / 0.4972 GB, free: 244 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1192, allocations: 1.426 MB / 0.4986 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.1194, allocations: 7.938 kB / 0.4986 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.1203, allocations: 283.2 kB / 0.4989 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.1211, allocations: 255.1 kB / 0.4991 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.1218, allocations: 254.7 kB / 0.4994 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.1224, allocations: 363 kB / 0.4997 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1225, allocations: 37.2 kB / 0.4998 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.1228, allocations: 147.4 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1231, allocations: 155.3 kB / 0.5001 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1232, allocations: 20 kB / 0.5001 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.1235, allocations: 119.8 kB / 0.5002 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1236, allocations: 79.75 kB / 0.5003 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1237, allocations: 115.3 kB / 0.5004 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.1243, allocations: 374.4 kB / 0.5007 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1243, allocations: 0 / 0.5007 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1243, allocations: 0 / 0.5007 GB, free: 12.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1243, allocations: 4 kB / 0.5007 GB, free: 12.63 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.001236/0.1256, allocations: 0.5973 MB / 0.5013 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1256, allocations: 8.031 kB / 0.5013 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.1257, allocations: 42.69 kB / 0.5014 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.1258, allocations: 32.75 kB / 0.5014 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.1262, allocations: 274.6 kB / 0.5017 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1263, allocations: 11.94 kB / 0.5017 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1263, allocations: 16 kB / 0.5017 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1266, allocations: 158.3 kB / 0.5018 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1266, allocations: 0 / 0.5018 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1266, allocations: 0 / 0.5018 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1267, allocations: 4 kB / 0.5018 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1268, allocations: 71.89 kB / 0.5019 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.1276, allocations: 455.5 kB / 0.5023 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1279, allocations: 130.7 kB / 0.5025 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1281, allocations: 48.84 kB / 0.5025 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1281, allocations: 11.98 kB / 0.5025 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.1284, allocations: 119.3 kB / 0.5026 GB, free: 10.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.1284, allocations: 0 / 0.5026 GB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006433/0.129, allocations: 275.2 kB / 0.5029 GB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.1291, allocations: 114.8 kB / 0.503 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.1297, allocations: 404.5 kB / 0.5034 GB, free: 9.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1297, allocations: 33.7 kB / 0.5034 GB, free: 9.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1299, allocations: 156.4 kB / 0.5036 GB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.1299, allocations: 47.67 kB / 0.5036 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.13, allocations: 49.7 kB / 0.5037 GB, free: 9.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1302, allocations: 342.8 kB / 0.504 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1303, allocations: 52.11 kB / 0.504 GB, free: 9.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1305, allocations: 147.8 kB / 0.5042 GB, free: 8.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1309, allocations: 192.4 kB / 0.5044 GB, free: 8.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1309, allocations: 0 / 0.5044 GB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004404/0.1313, allocations: 221.2 kB / 0.5046 GB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1314, allocations: 4 kB / 0.5046 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1314, allocations: 4 kB / 0.5046 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1314, allocations: 8.234 kB / 0.5046 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1315, allocations: 35.92 kB / 0.5046 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1315, allocations: 4 kB / 0.5046 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1317, allocations: 23.95 kB / 0.5047 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1317, allocations: 12 kB / 0.5047 GB, free: 8.297 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.0002353/0.1319, allocations: 180.2 kB / 0.5048 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.132, allocations: 35.77 kB / 0.5049 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/0.1325, allocations: 237.8 kB / 0.5051 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1325, allocations: 4 kB / 0.5051 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1325, allocations: 0 / 0.5051 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1325, allocations: 7.922 kB / 0.5051 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1328, allocations: 260.6 kB / 0.5054 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1328, allocations: 0 / 0.5054 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1328, allocations: 8 kB / 0.5054 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1328, allocations: 0 / 0.5054 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1328, allocations: 15.98 kB / 0.5054 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1329, allocations: 0 / 0.5054 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1329, allocations: 0 / 0.5054 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.1333, allocations: 260.5 kB / 0.5056 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1333, allocations: 27.81 kB / 0.5057 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1334, allocations: 4 kB / 0.5057 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.1335, allocations: 11.98 kB / 0.5057 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.1335, allocations: 15.98 kB / 0.5057 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.1336, allocations: 11.92 kB / 0.5057 GB, free: 7.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003405/0.1339, allocations: 295 kB / 0.506 GB, free: 6.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 0 / 0.506 GB, free: 6.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1342, allocations: 55.94 kB / 0.506 GB, free: 6.816 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 (16): * Single equations (assignments): 9 * 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.002279/0.1365, allocations: 1.125 MB / 0.5071 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.1369, allocations: 143.7 kB / 0.5073 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1369, allocations: 0 / 0.5073 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.137, allocations: 63.91 kB / 0.5073 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1375, allocations: 87.36 kB / 0.5074 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.1416, allocations: 2.869 MB / 0.5102 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.142, allocations: 0.7714 MB / 0.511 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1422, allocations: 38.27 kB / 0.511 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1423, allocations: 87.41 kB / 0.5111 GB, free: 1.613 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1423, allocations: 0 / 0.5111 GB, free: 1.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/0.4004, allocations: 7.682 MB / 0.5186 GB, free: 22.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 11 kB / 0.5186 GB, free: 22.24 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On.fmu > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.554523330880329] Failed to read output from testmodel.py, exit status != 0: 11.963876489084214 11.978382959 11.851302201 Calling exit ...