Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 187.1 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.09477/0.09477, allocations: 11.36 MB / 317.4 MB, free: 13.81 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 63.89 kB / 442.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1078, allocations: 54.88 MB / 497.1 MB, free: 68 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003108/0.1109, allocations: 1.89 MB / 499 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1121, allocations: 0.694 MB / 499.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1122, allocations: 19.81 kB / 499.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1123, allocations: 23.67 kB / 499.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1124, allocations: 43.59 kB / 499.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1128, allocations: 147.7 kB / 499.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1132, allocations: 291.3 kB / 0.4884 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1133, allocations: 33.16 kB / 0.4885 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1135, allocations: 131.5 kB / 0.4886 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1137, allocations: 123.4 kB / 0.4887 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.1137, allocations: 23.94 kB / 0.4887 GB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.1138, allocations: 20 kB / 0.4888 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.1138, allocations: 59.72 kB / 0.4888 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.114, allocations: 107.4 kB / 0.4889 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1142, allocations: 231.2 kB / 0.4891 GB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1142, allocations: 0 / 0.4891 GB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1142, allocations: 4 kB / 0.4891 GB, free: 12.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1143, allocations: 0 / 0.4891 GB, free: 12.22 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001229/0.1155, allocations: 0.5457 MB / 0.4897 GB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1155, allocations: 8.031 kB / 0.4897 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.141e-05/0.1156, allocations: 50.73 kB / 0.4897 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.1156, allocations: 36.69 kB / 0.4898 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.1161, allocations: 252.8 kB / 0.49 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1162, allocations: 93.39 kB / 0.4901 GB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1163, allocations: 23.94 kB / 0.4901 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.1168, allocations: 208.5 kB / 0.4903 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1168, allocations: 0 / 0.4903 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1168, allocations: 8 kB / 0.4903 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1168, allocations: 3.938 kB / 0.4903 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.1174, allocations: 164.7 kB / 0.4905 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.1189, allocations: 0.6869 MB / 0.4912 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.1194, allocations: 166.5 kB / 0.4913 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.1197, allocations: 92.78 kB / 0.4914 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1197, allocations: 4 kB / 0.4914 GB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/0.1202, allocations: 163.3 kB / 0.4916 GB, free: 9.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.1202, allocations: 0 / 0.4916 GB, free: 9.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001021/0.1212, allocations: 340.3 kB / 0.4919 GB, free: 9.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1212, allocations: 55.41 kB / 0.4919 GB, free: 9.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1215, allocations: 233 kB / 0.4922 GB, free: 8.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.1215, allocations: 29.7 kB / 0.4922 GB, free: 8.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1216, allocations: 152.4 kB / 0.4923 GB, free: 8.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.1217, allocations: 55.58 kB / 0.4924 GB, free: 8.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.1218, allocations: 41.7 kB / 0.4924 GB, free: 8.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1219, allocations: 338.8 kB / 0.4928 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1223, allocations: 121.6 kB / 0.4929 GB, free: 8.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1226, allocations: 152.5 kB / 0.493 GB, free: 8.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/0.1232, allocations: 235 kB / 0.4932 GB, free: 7.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1232, allocations: 0 / 0.4932 GB, free: 7.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000793/0.124, allocations: 351.4 kB / 0.4936 GB, free: 7.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.1241, allocations: 33.7 kB / 0.4936 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1241, allocations: 4 kB / 0.4936 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1241, allocations: 7.938 kB / 0.4936 GB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.1255, allocations: 120 kB / 0.4937 GB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.1281, allocations: 2.676 MB / 0.4964 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.1283, allocations: 39.88 kB / 0.4964 GB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.1284, allocations: 8 kB / 0.4964 GB, free: 4.289 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1285, allocations: 137.7 kB / 0.4965 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1286, allocations: 23.92 kB / 0.4966 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.1293, allocations: 275.5 kB / 0.4968 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1293, allocations: 0 / 0.4968 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1293, allocations: 0 / 0.4968 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1293, allocations: 0 / 0.4968 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1305, allocations: 0.6309 MB / 0.4974 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1305, allocations: 0 / 0.4974 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.1317, allocations: 111.9 kB / 0.4975 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1317, allocations: 0 / 0.4975 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1317, allocations: 4 kB / 0.4975 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.1317, allocations: 7.938 kB / 0.4975 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1317, allocations: 3.984 kB / 0.4976 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.1327, allocations: 462 kB / 0.498 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1328, allocations: 27.83 kB / 0.498 GB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1328, allocations: 7.938 kB / 0.498 GB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.133, allocations: 27.97 kB / 0.4981 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.1331, allocations: 23.95 kB / 0.4981 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1331, allocations: 8 kB / 0.4981 GB, free: 2.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1333, allocations: 160.5 kB / 0.4982 GB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1333, allocations: 0 / 0.4982 GB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1336, allocations: 43.95 kB / 0.4983 GB, free: 2.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00131/0.1349, allocations: 0.9971 MB / 0.4993 GB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009998/0.1359, allocations: 312.9 kB / 0.4996 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1359, allocations: 0 / 0.4996 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1362, allocations: 108 kB / 0.4997 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1365, allocations: 31.08 kB / 0.4997 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.1407, allocations: 2.705 MB / 0.5023 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1411, allocations: 0.7441 MB / 0.5031 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1412, allocations: 25.94 kB / 0.5031 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1413, allocations: 79.41 kB / 0.5032 GB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1413, allocations: 0 / 0.5032 GB, free: 13.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.1755, allocations: 5.29 MB / 0.5083 GB, free: 7.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.03, allocations: 5.078 kB / 0.5083 GB, free: 7.949 MB / 382.1 MB " [Timeout remaining time 647] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL_res.csv --start-time 0 --stop-time 22 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0088 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.963979250984266] Failed to read output from testmodel.py, exit status != 0: 13.14751485711895 13.350001805 13.233000189 Calling exit ...