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.001693/0.001693, 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.002018/0.002018, allocations: 211.7 kB / 22.24 MB, free: 4.855 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.809 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.06297/0.06297, allocations: 11.34 MB / 323.8 MB, free: 8.039 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.002005/0.002005, allocations: 67.91 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 56.08 MB / 0.4952 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003452/0.1154, allocations: 1.962 MB / 0.4971 GB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1178, allocations: 1.345 MB / 0.4984 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1179, allocations: 7.938 kB / 0.4984 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.1187, allocations: 295.2 kB / 0.4987 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.1193, allocations: 267 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.1199, allocations: 261.8 kB / 0.4992 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.1203, allocations: 363 kB / 0.4995 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1204, allocations: 37.19 kB / 0.4996 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1206, allocations: 151.4 kB / 0.4997 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1208, allocations: 151.4 kB / 0.4999 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1209, allocations: 27.92 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1211, allocations: 119.9 kB / 0.5 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1212, allocations: 83.69 kB / 0.5001 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1213, allocations: 107.3 kB / 0.5002 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.1218, allocations: 386.4 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1218, allocations: 3.938 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1218, allocations: 3.938 kB / 0.5006 GB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1218, allocations: 4 kB / 0.5006 GB, free: 12.61 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.001005/0.1228, allocations: 0.6052 MB / 0.5011 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1229, allocations: 12.03 kB / 0.5012 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.1229, allocations: 38.73 kB / 0.5012 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.123, allocations: 32.75 kB / 0.5012 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.1234, allocations: 292.6 kB / 0.5015 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1235, allocations: 12.12 kB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1235, allocations: 15.98 kB / 0.5015 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.1238, allocations: 133.6 kB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1238, allocations: 0 / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1238, allocations: 0 / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1238, allocations: 7.984 kB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.124, allocations: 71.91 kB / 0.5017 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.1247, allocations: 431.5 kB / 0.5021 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1251, allocations: 146.7 kB / 0.5023 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1252, allocations: 64.86 kB / 0.5023 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1252, allocations: 0 / 0.5023 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.1255, allocations: 143.2 kB / 0.5025 GB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1255, allocations: 0 / 0.5025 GB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006406/0.1261, allocations: 295.5 kB / 0.5028 GB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1262, allocations: 59.39 kB / 0.5028 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.1267, allocations: 449.6 kB / 0.5033 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1267, allocations: 33.7 kB / 0.5033 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1269, allocations: 164.4 kB / 0.5034 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1269, allocations: 43.69 kB / 0.5035 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.127, allocations: 49.91 kB / 0.5035 GB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1272, allocations: 350.7 kB / 0.5039 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1273, allocations: 52.06 kB / 0.5039 GB, free: 8.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1275, allocations: 195.7 kB / 0.5041 GB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1279, allocations: 192.4 kB / 0.5043 GB, free: 8.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1279, allocations: 0 / 0.5043 GB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004128/0.1283, allocations: 241.2 kB / 0.5045 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1283, allocations: 8 kB / 0.5045 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1283, allocations: 3.938 kB / 0.5045 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1283, allocations: 4 kB / 0.5045 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1284, allocations: 35.91 kB / 0.5046 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1284, allocations: 4 kB / 0.5046 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1286, allocations: 20.02 kB / 0.5046 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.1286, allocations: 16.25 kB / 0.5046 GB, free: 8.172 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.0002278/0.1288, allocations: 196.2 kB / 0.5048 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.1289, allocations: 35.77 kB / 0.5048 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.1294, allocations: 260.8 kB / 0.5051 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1294, allocations: 0 / 0.5051 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1294, allocations: 0 / 0.5051 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1294, allocations: 3.984 kB / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1297, allocations: 260.5 kB / 0.5053 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1297, allocations: 0 / 0.5053 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1297, allocations: 11.94 kB / 0.5053 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1297, allocations: 4 kB / 0.5053 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1297, allocations: 7.984 kB / 0.5053 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1297, allocations: 4 kB / 0.5054 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1297, allocations: 0 / 0.5054 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1302, allocations: 282.6 kB / 0.5056 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.1303, allocations: 35.8 kB / 0.5057 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1303, allocations: 0 / 0.5057 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.1304, allocations: 15.98 kB / 0.5057 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1304, allocations: 15.98 kB / 0.5057 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1305, allocations: 11.98 kB / 0.5057 GB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.1308, allocations: 327.1 kB / 0.506 GB, free: 6.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1308, allocations: 0 / 0.506 GB, free: 6.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.1311, allocations: 67.83 kB / 0.5061 GB, free: 6.594 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 (19): * Single equations (assignments): 11 * 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.002343/0.1335, allocations: 1.198 MB / 0.5072 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.1339, allocations: 165.8 kB / 0.5074 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1339, allocations: 0 / 0.5074 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.134, allocations: 71.91 kB / 0.5075 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.0004121/0.1344, allocations: 75.11 kB / 0.5075 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.1384, allocations: 3.059 MB / 0.5105 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.1386, allocations: 166.2 kB / 0.5107 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1387, allocations: 50.92 kB / 0.5107 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1389, allocations: 95.41 kB / 0.5108 GB, free: 1.738 MB / 382.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1389, allocations: 0 / 0.5108 GB, free: 1.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.3795, allocations: 8.641 MB / 0.5193 GB, free: 22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.18, allocations: 0.875 kB / 0.5193 GB, free: 22 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.56351444683969] Failed to read output from testmodel.py, exit status != 0: 11.340171409770846 11.359357601 11.233644039 Calling exit ...