Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001417/0.001417, allocations: 105.8 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.001423/0.001423, allocations: 189.4 kB / 22.1 MB, free: 5.148 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.459/1.459, 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.06542/0.06542, allocations: 11.36 MB / 317.4 MB, free: 13.89 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.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 67.89 kB / 442.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1102, allocations: 54.88 MB / 497.1 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003006/0.1132, allocations: 1.652 MB / 498.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.1139, allocations: 318.9 kB / 499 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.114, allocations: 0 / 499 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.114, allocations: 19.8 kB / 499 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1142, allocations: 19.81 kB / 499.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1146, allocations: 87.78 kB / 499.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1148, allocations: 131.7 kB / 499.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.115, allocations: 13.69 kB / 499.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.1151, allocations: 63.7 kB / 499.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1152, allocations: 59.64 kB / 499.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.1152, allocations: 16 kB / 499.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.1153, allocations: 39.97 kB / 499.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.1153, allocations: 35.89 kB / 499.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.1154, allocations: 63.55 kB / 499.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1157, allocations: 143.6 kB / 499.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.1157, allocations: 0 / 499.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1157, allocations: 0 / 499.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1157, allocations: 4 kB / 499.7 MB, free: 13.48 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007428/0.1164, allocations: 387.5 kB / 0.4884 GB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1165, allocations: 11.97 kB / 0.4884 GB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1165, allocations: 38.75 kB / 0.4884 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.1166, allocations: 20.83 kB / 0.4884 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1168, allocations: 162.2 kB / 0.4886 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1169, allocations: 12.36 kB / 0.4886 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1169, allocations: 8.375 kB / 0.4886 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1172, allocations: 241.2 kB / 0.4888 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1172, allocations: 7.922 kB / 0.4888 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1172, allocations: 7.938 kB / 0.4889 GB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1173, allocations: 0 / 0.4889 GB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1174, allocations: 55.97 kB / 0.4889 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.1181, allocations: 375.6 kB / 0.4893 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1183, allocations: 106.6 kB / 0.4894 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1184, allocations: 56.83 kB / 0.4894 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1184, allocations: 0 / 0.4894 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.1187, allocations: 123.3 kB / 0.4895 GB, free: 11.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1187, allocations: 0 / 0.4895 GB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004706/0.1192, allocations: 198.4 kB / 0.4897 GB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1193, allocations: 158.2 kB / 0.4899 GB, free: 11.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1195, allocations: 195.2 kB / 0.4901 GB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1195, allocations: 25.7 kB / 0.4901 GB, free: 11.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.1196, allocations: 124.1 kB / 0.4902 GB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1197, allocations: 47.62 kB / 0.4903 GB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.1197, allocations: 45.7 kB / 0.4903 GB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1199, allocations: 330.8 kB / 0.4906 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.12, allocations: 39.92 kB / 0.4906 GB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1202, allocations: 218.3 kB / 0.4909 GB, free: 10.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.1204, allocations: 132.5 kB / 0.491 GB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1204, allocations: 4 kB / 0.491 GB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002951/0.1207, allocations: 169.4 kB / 0.4911 GB, free: 9.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1208, allocations: 10.97 kB / 0.4912 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1208, allocations: 0 / 0.4912 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1208, allocations: 7.938 kB / 0.4912 GB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1209, allocations: 35.92 kB / 0.4912 GB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1209, allocations: 192 / 0.4912 GB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1211, allocations: 27.88 kB / 0.4912 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1211, allocations: 8 kB / 0.4912 GB, free: 9.824 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001186/0.1212, allocations: 121.8 kB / 0.4914 GB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1213, allocations: 15.91 kB / 0.4914 GB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.1213, allocations: 25.39 kB / 0.4914 GB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1213, allocations: 3.938 kB / 0.4914 GB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1213, allocations: 4 kB / 0.4914 GB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1213, allocations: 4 kB / 0.4914 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1219, allocations: 438 kB / 0.4918 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1219, allocations: 0 / 0.4918 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.122, allocations: 27.88 kB / 0.4918 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.122, allocations: 0 / 0.4918 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.122, allocations: 7.984 kB / 0.4919 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.122, allocations: 0 / 0.4919 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.122, allocations: 0 / 0.4919 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.1225, allocations: 322.5 kB / 0.4922 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.1225, allocations: 15.88 kB / 0.4922 GB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1226, allocations: 4 kB / 0.4922 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1227, allocations: 11.98 kB / 0.4922 GB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.1228, allocations: 7.984 kB / 0.4922 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.1228, allocations: 8 kB / 0.4922 GB, free: 8.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1229, allocations: 140.5 kB / 0.4923 GB, free: 8.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1229, allocations: 0 / 0.4923 GB, free: 8.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1232, allocations: 35.94 kB / 0.4924 GB, free: 8.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0008579/0.1241, allocations: 0.869 MB / 0.4932 GB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1243, allocations: 103.9 kB / 0.4933 GB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.1243, allocations: 8 kB / 0.4933 GB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1244, allocations: 47.92 kB / 0.4934 GB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1247, allocations: 38.86 kB / 0.4934 GB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.1275, allocations: 2.059 MB / 0.4954 GB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1278, allocations: 0.7125 MB / 0.4961 GB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.1279, allocations: 25.42 kB / 0.4961 GB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.128, allocations: 43.42 kB / 0.4962 GB, free: 4.504 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.128, allocations: 0 / 0.4962 GB, free: 4.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.161, allocations: 3.888 MB / 0.5 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.06, allocations: 6.234 kB / 0.5 GB, free: 0.7617 MB / 366.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.784076084848493] Failed to read output from testmodel.py, exit status != 0: 11.16379182296805 11.18864734 11.069724611 Calling exit ...