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.001507/0.001507, allocations: 101.2 kB / 16.45 MB, free: 6.5 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.001368/0.001368, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.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.06637/0.06637, allocations: 11.31 MB / 320.2 MB, free: 9.414 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.002004/0.002004, allocations: 67.91 kB / 445.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1028, allocations: 56.02 MB / 0.4901 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003444/0.1062, allocations: 2.027 MB / 0.492 GB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1086, allocations: 1.415 MB / 0.4934 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1087, allocations: 7.938 kB / 0.4934 GB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.1096, allocations: 291.2 kB / 0.4937 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.1101, allocations: 255.1 kB / 0.494 GB, free: 1.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.1107, allocations: 254.4 kB / 0.4942 GB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.1111, allocations: 363 kB / 0.4945 GB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1113, allocations: 37 kB / 0.4946 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1115, allocations: 151.4 kB / 0.4947 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1117, allocations: 171.3 kB / 0.4949 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.1117, allocations: 20 kB / 0.4949 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1119, allocations: 111.9 kB / 0.495 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1121, allocations: 87.67 kB / 0.4951 GB, free: 452 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1122, allocations: 127.2 kB / 0.4952 GB, free: 324 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1127, allocations: 394.3 kB / 0.4956 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1127, allocations: 3.938 kB / 0.4956 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1127, allocations: 0 / 0.4956 GB, free: 15.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1127, allocations: 0 / 0.4956 GB, free: 15.93 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.0011/0.1138, allocations: 0.6921 MB / 0.4963 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1138, allocations: 8.031 kB / 0.4963 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.1139, allocations: 46.73 kB / 0.4963 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.114, allocations: 40.73 kB / 0.4964 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1144, allocations: 342.8 kB / 0.4967 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1145, allocations: 11.94 kB / 0.4967 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1145, allocations: 11.98 kB / 0.4967 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.1148, allocations: 160.1 kB / 0.4969 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1148, allocations: 0 / 0.4969 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1149, allocations: 4 kB / 0.4969 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1149, allocations: 4 kB / 0.4969 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.1151, allocations: 67.91 kB / 0.4969 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.1158, allocations: 492.3 kB / 0.4974 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.1162, allocations: 134.8 kB / 0.4975 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1164, allocations: 56.78 kB / 0.4976 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1164, allocations: 11.92 kB / 0.4976 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1167, allocations: 131.3 kB / 0.4977 GB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1167, allocations: 0 / 0.4977 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006542/0.1173, allocations: 281.3 kB / 0.498 GB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.1174, allocations: 114.8 kB / 0.4981 GB, free: 13.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.118, allocations: 441.6 kB / 0.4985 GB, free: 12.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.118, allocations: 37.7 kB / 0.4986 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1181, allocations: 168.4 kB / 0.4987 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.1182, allocations: 51.61 kB / 0.4988 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.1183, allocations: 53.7 kB / 0.4988 GB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1185, allocations: 350.7 kB / 0.4992 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1186, allocations: 40.42 kB / 0.4992 GB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1188, allocations: 153.9 kB / 0.4993 GB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.1192, allocations: 196.3 kB / 0.4995 GB, free: 11.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1192, allocations: 0 / 0.4995 GB, free: 11.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004337/0.1196, allocations: 229.2 kB / 0.4998 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1196, allocations: 4 kB / 0.4998 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1196, allocations: 4 kB / 0.4998 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1196, allocations: 4 kB / 0.4998 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1198, allocations: 36.3 kB / 0.4998 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1198, allocations: 12 kB / 0.4998 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1199, allocations: 23.88 kB / 0.4998 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1199, allocations: 11.94 kB / 0.4998 GB, free: 11.23 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.0002304/0.1201, allocations: 180.3 kB / 0.5 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.1202, allocations: 35.77 kB / 0.5001 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.1203, allocations: 39.31 kB / 0.5001 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1203, allocations: 4 kB / 0.5001 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1203, allocations: 0 / 0.5001 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1203, allocations: 48 / 0.5001 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.1206, allocations: 317.3 kB / 0.5004 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1206, allocations: 0 / 0.5004 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.1207, allocations: 11.94 kB / 0.5004 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1207, allocations: 0 / 0.5004 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1207, allocations: 3.984 kB / 0.5004 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1207, allocations: 4 kB / 0.5004 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1207, allocations: 11.92 kB / 0.5004 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.1212, allocations: 271.5 kB / 0.5007 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.1213, allocations: 100.9 kB / 0.5008 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.1213, allocations: 8 kB / 0.5008 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.1214, allocations: 7.984 kB / 0.5008 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1215, allocations: 11.98 kB / 0.5008 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1215, allocations: 15.98 kB / 0.5008 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.1219, allocations: 335.1 kB / 0.5011 GB, free: 9.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1219, allocations: 0 / 0.5011 GB, free: 9.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.1222, allocations: 67.83 kB / 0.5012 GB, free: 9.754 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,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * 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.002357/0.1246, allocations: 1.137 MB / 0.5023 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.125, allocations: 146.6 kB / 0.5025 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.125, allocations: 4 kB / 0.5025 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1252, allocations: 67.81 kB / 0.5025 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1256, allocations: 79.55 kB / 0.5026 GB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.1298, allocations: 3.033 MB / 0.5056 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.1303, allocations: 0.7714 MB / 0.5063 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.1304, allocations: 46.95 kB / 0.5064 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.1306, allocations: 99.39 kB / 0.5065 GB, free: 4.355 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1306, allocations: 0 / 0.5065 GB, free: 4.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.35, allocations: 7.846 MB / 0.5141 GB, free: 23.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/8.978, allocations: 8.844 kB / 0.5141 GB, free: 23.69 MB / 382.1 MB " [Timeout remaining time 651] (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: 12.493366852009785] Failed to read output from testmodel.py, exit status != 0: 9.106606362998718 9.123389164 9.00763996 Calling exit ...