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.001718/0.001718, allocations: 109.2 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.002165/0.002165, allocations: 218.7 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.996 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.06609/0.06609, allocations: 11.35 MB / 323.8 MB, free: 8.238 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_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",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.001985/0.001985, allocations: 67.89 kB / 451 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 56.08 MB / 0.4952 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003875/0.1184, allocations: 2.037 MB / 0.4972 GB, free: 308 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1208, allocations: 1.437 MB / 0.4986 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1209, allocations: 7.938 kB / 0.4986 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.1219, allocations: 310 kB / 0.4989 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.1225, allocations: 263.1 kB / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.1232, allocations: 258.7 kB / 0.4994 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.1236, allocations: 375 kB / 0.4998 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1237, allocations: 29.2 kB / 0.4998 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1239, allocations: 147.5 kB / 0.5 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1241, allocations: 175.3 kB / 0.5001 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.1242, allocations: 20 kB / 0.5001 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.1244, allocations: 123.8 kB / 0.5003 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1245, allocations: 83.73 kB / 0.5003 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1247, allocations: 131.2 kB / 0.5005 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.1251, allocations: 390.4 kB / 0.5008 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1252, allocations: 4 kB / 0.5008 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1252, allocations: 0 / 0.5008 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1252, allocations: 0 / 0.5008 GB, free: 12.59 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.001033/0.1262, allocations: 0.6167 MB / 0.5014 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1262, allocations: 8.031 kB / 0.5014 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.1263, allocations: 38.75 kB / 0.5015 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.1264, allocations: 36.73 kB / 0.5015 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1268, allocations: 288.9 kB / 0.5018 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.1268, allocations: 11.94 kB / 0.5018 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1269, allocations: 15.98 kB / 0.5018 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1272, allocations: 154.4 kB / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1272, allocations: 3.984 kB / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1272, allocations: 0 / 0.502 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1272, allocations: 4 kB / 0.502 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1274, allocations: 71.91 kB / 0.502 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1281, allocations: 455.4 kB / 0.5025 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.1285, allocations: 142.7 kB / 0.5026 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1286, allocations: 56.86 kB / 0.5027 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1286, allocations: 4 kB / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.1289, allocations: 135.3 kB / 0.5028 GB, free: 10.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1289, allocations: 0 / 0.5028 GB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006389/0.1296, allocations: 291.6 kB / 0.5031 GB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.1296, allocations: 110.8 kB / 0.5032 GB, free: 9.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.1301, allocations: 445.6 kB / 0.5036 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1302, allocations: 37.7 kB / 0.5036 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1303, allocations: 168.4 kB / 0.5038 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1304, allocations: 47.67 kB / 0.5039 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.1304, allocations: 45.7 kB / 0.5039 GB, free: 9.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1306, allocations: 350.7 kB / 0.5042 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1307, allocations: 48.41 kB / 0.5043 GB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.1309, allocations: 148.3 kB / 0.5044 GB, free: 8.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.1313, allocations: 196.4 kB / 0.5046 GB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1313, allocations: 0 / 0.5046 GB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004086/0.1317, allocations: 229.3 kB / 0.5048 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1317, allocations: 4 kB / 0.5048 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1317, allocations: 8 kB / 0.5048 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1317, allocations: 4 kB / 0.5048 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1319, allocations: 32.17 kB / 0.5049 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1319, allocations: 11.92 kB / 0.5049 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.132, allocations: 23.89 kB / 0.5049 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.132, allocations: 15.94 kB / 0.5049 GB, free: 8.098 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.0002323/0.1322, allocations: 188.3 kB / 0.5051 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1323, allocations: 35.77 kB / 0.5051 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.1328, allocations: 244.8 kB / 0.5054 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1328, allocations: 4 kB / 0.5054 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1328, allocations: 0 / 0.5054 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1328, allocations: 0 / 0.5054 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.1331, allocations: 280.4 kB / 0.5056 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1331, allocations: 48 / 0.5056 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1332, allocations: 11.97 kB / 0.5056 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1332, allocations: 4 kB / 0.5057 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1332, allocations: 4 kB / 0.5057 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1332, allocations: 11.94 kB / 0.5057 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1332, allocations: 3.938 kB / 0.5057 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.1337, allocations: 267.3 kB / 0.5059 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1337, allocations: 31.8 kB / 0.506 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.1338, allocations: 4 kB / 0.506 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1339, allocations: 15.98 kB / 0.506 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1339, allocations: 11.98 kB / 0.506 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.134, allocations: 19.92 kB / 0.506 GB, free: 6.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.1343, allocations: 319.1 kB / 0.5063 GB, free: 6.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1343, allocations: 0 / 0.5063 GB, free: 6.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1347, allocations: 75.81 kB / 0.5064 GB, free: 6.531 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 (17): * Single equations (assignments): 9 * 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.002214/0.1369, allocations: 1.125 MB / 0.5075 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003964/0.1373, allocations: 146.3 kB / 0.5076 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1373, allocations: 0 / 0.5076 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1374, allocations: 67.92 kB / 0.5077 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1379, allocations: 86.72 kB / 0.5078 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.142, allocations: 3.033 MB / 0.5107 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1425, allocations: 0.7753 MB / 0.5115 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1426, allocations: 42.95 kB / 0.5115 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1428, allocations: 99.39 kB / 0.5116 GB, free: 1.137 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1428, allocations: 0 / 0.5116 GB, free: 1.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2541/0.3969, allocations: 8.028 MB / 0.5195 GB, free: 21.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 6.406 kB / 0.5195 GB, free: 21.77 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge.fmu > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.571893410000484] Failed to read output from testmodel.py, exit status != 0: 12.10361855699739 12.121712279 11.993798219 Calling exit ...