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.001306/0.001306, allocations: 106.2 kB / 18.84 MB, free: 3.027 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.001616/0.001616, allocations: 213.1 kB / 22.13 MB, free: 5.176 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.467/1.467, allocations: 230.5 MB / 255.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06534/0.06534, allocations: 11.36 MB / 323.5 MB, free: 8.285 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-master/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.002088/0.002088, allocations: 68.08 kB / 450.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 56.06 MB / 0.4949 GB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003544/0.1099, allocations: 2.037 MB / 0.4969 GB, free: 464 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1125, allocations: 1.436 MB / 0.4983 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1126, allocations: 7.938 kB / 0.4983 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.1135, allocations: 308.1 kB / 0.4986 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.1141, allocations: 267.1 kB / 0.4988 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.1147, allocations: 258.8 kB / 0.4991 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1152, allocations: 375 kB / 0.4994 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1153, allocations: 29.2 kB / 0.4995 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1155, allocations: 151.4 kB / 0.4996 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1157, allocations: 171.3 kB / 0.4998 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.1157, allocations: 20 kB / 0.4998 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.116, allocations: 119.8 kB / 0.4999 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1161, allocations: 87.73 kB / 0.5 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1162, allocations: 127.2 kB / 0.5001 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.1167, allocations: 394.3 kB / 0.5005 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1167, allocations: 0 / 0.5005 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1167, allocations: 0 / 0.5005 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1167, allocations: 0 / 0.5005 GB, free: 12.74 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.001011/0.1177, allocations: 0.6168 MB / 0.5011 GB, free: 12.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1177, allocations: 11.97 kB / 0.5011 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1178, allocations: 42.73 kB / 0.5011 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.1179, allocations: 32.75 kB / 0.5012 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1183, allocations: 289 kB / 0.5014 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1183, allocations: 7.938 kB / 0.5014 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1183, allocations: 12 kB / 0.5015 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1187, allocations: 209.8 kB / 0.5017 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1187, allocations: 4 kB / 0.5017 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1187, allocations: 4 kB / 0.5017 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1187, allocations: 0 / 0.5017 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1189, allocations: 71.89 kB / 0.5017 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.1196, allocations: 463.4 kB / 0.5022 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.12, allocations: 142.8 kB / 0.5023 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1202, allocations: 56.77 kB / 0.5024 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1202, allocations: 4 kB / 0.5024 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1205, allocations: 127.3 kB / 0.5025 GB, free: 10.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1205, allocations: 0 / 0.5025 GB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006648/0.1211, allocations: 295.9 kB / 0.5028 GB, free: 10.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.1212, allocations: 110.8 kB / 0.5029 GB, free: 10.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.1218, allocations: 441.6 kB / 0.5033 GB, free: 9.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1218, allocations: 37.7 kB / 0.5033 GB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1219, allocations: 176.3 kB / 0.5035 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.122, allocations: 43.69 kB / 0.5035 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.1221, allocations: 45.91 kB / 0.5036 GB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1222, allocations: 350.7 kB / 0.5039 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1224, allocations: 48.08 kB / 0.504 GB, free: 8.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1226, allocations: 255.2 kB / 0.5042 GB, free: 8.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.123, allocations: 196.3 kB / 0.5044 GB, free: 8.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.123, allocations: 4 kB / 0.5044 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004296/0.1234, allocations: 229.2 kB / 0.5046 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1234, allocations: 4 kB / 0.5046 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1234, allocations: 4 kB / 0.5046 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1234, allocations: 4 kB / 0.5046 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1236, allocations: 32.17 kB / 0.5047 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1236, allocations: 8 kB / 0.5047 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1237, allocations: 23.88 kB / 0.5047 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1237, allocations: 15.94 kB / 0.5047 GB, free: 8.059 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.000251/0.124, allocations: 188.3 kB / 0.5049 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.124, allocations: 35.77 kB / 0.5049 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.1245, allocations: 256.7 kB / 0.5052 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1245, allocations: 3.938 kB / 0.5052 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1245, allocations: 0 / 0.5052 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1245, allocations: 0 / 0.5052 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1249, allocations: 280.4 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1249, allocations: 0 / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.1249, allocations: 12.12 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1249, allocations: 3.984 kB / 0.5055 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1249, allocations: 4 kB / 0.5055 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1249, allocations: 0 / 0.5055 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1249, allocations: 7.938 kB / 0.5055 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.1254, allocations: 278.8 kB / 0.5057 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1254, allocations: 27.81 kB / 0.5058 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.1255, allocations: 11.98 kB / 0.5058 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.1256, allocations: 7.984 kB / 0.5058 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.1256, allocations: 11.98 kB / 0.5058 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.1257, allocations: 12 kB / 0.5058 GB, free: 6.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.126, allocations: 331.1 kB / 0.5061 GB, free: 6.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.126, allocations: 0 / 0.5061 GB, free: 6.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.1264, allocations: 71.81 kB / 0.5062 GB, free: 6.48 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.002338/0.1287, allocations: 1.134 MB / 0.5073 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.1291, allocations: 143.8 kB / 0.5074 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1291, allocations: 0 / 0.5074 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1293, allocations: 71.91 kB / 0.5075 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.1298, allocations: 85.05 kB / 0.5076 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.1338, allocations: 3.028 MB / 0.5105 GB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.134, allocations: 170.1 kB / 0.5107 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1341, allocations: 46.94 kB / 0.5107 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1343, allocations: 99.39 kB / 0.5108 GB, free: 1.699 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1343, allocations: 3.938 kB / 0.5108 GB, free: 1.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2248/0.3591, allocations: 8.035 MB / 0.5187 GB, free: 22.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.1, allocations: 4.234 kB / 0.5187 GB, free: 22.84 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.529312820639461] Failed to read output from testmodel.py, exit status != 0: 12.26927114278078 12.290845184 12.170115427 Calling exit ...