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.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.001685/0.001685, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.00147/0.00147, allocations: 211.1 kB / 23 MB, free: 5.113 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.44/1.44, allocations: 230.6 MB / 256.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/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.0651/0.0651, allocations: 11.34 MB / 324.5 MB, free: 8.27 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") [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.002037/0.002037, allocations: 71.89 kB / 452.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 56.07 MB / 0.4964 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.00322/0.1208, allocations: 1.669 MB / 0.4981 GB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.1215, allocations: 314.8 kB / 0.4984 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.1216, allocations: 4 kB / 0.4984 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/0.1217, allocations: 11.86 kB / 0.4984 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1218, allocations: 23.8 kB / 0.4984 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1222, allocations: 91.72 kB / 0.4985 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1225, allocations: 127.7 kB / 0.4986 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1226, allocations: 17.75 kB / 0.4986 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.1227, allocations: 55.7 kB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1228, allocations: 71.62 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1228, allocations: 8 kB / 0.4988 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.1229, allocations: 39.98 kB / 0.4988 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1229, allocations: 35.83 kB / 0.4988 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.123, allocations: 59.66 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1232, allocations: 151.2 kB / 0.499 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1232, allocations: 0 / 0.499 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1232, allocations: 0 / 0.499 GB, free: 15.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1233, allocations: 0 / 0.499 GB, free: 15.21 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007254/0.124, allocations: 381.6 kB / 0.4994 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.124, allocations: 8.031 kB / 0.4994 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1241, allocations: 16.84 kB / 0.4994 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1243, allocations: 170.2 kB / 0.4996 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1243, allocations: 8.375 kB / 0.4996 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1244, allocations: 8.375 kB / 0.4996 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.1247, allocations: 138.5 kB / 0.4997 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1247, allocations: 8.172 kB / 0.4997 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1247, allocations: 7.938 kB / 0.4998 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1247, allocations: 0 / 0.4998 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1248, allocations: 55.91 kB / 0.4998 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.1256, allocations: 383.6 kB / 0.5002 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.1258, allocations: 102.6 kB / 0.5003 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1259, allocations: 56.83 kB / 0.5003 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1259, allocations: 0 / 0.5003 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.1262, allocations: 114.2 kB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1262, allocations: 3.938 kB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000493/0.1267, allocations: 209.4 kB / 0.5006 GB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.1268, allocations: 158.2 kB / 0.5008 GB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.127, allocations: 187.2 kB / 0.501 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.1271, allocations: 33.7 kB / 0.501 GB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.1272, allocations: 120.2 kB / 0.5011 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.1272, allocations: 47.62 kB / 0.5012 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.1273, allocations: 45.7 kB / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1274, allocations: 334.8 kB / 0.5015 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1275, allocations: 35.98 kB / 0.5016 GB, free: 12.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1277, allocations: 111.3 kB / 0.5017 GB, free: 12.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1279, allocations: 128.7 kB / 0.5018 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1279, allocations: 8 kB / 0.5018 GB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002948/0.1282, allocations: 165.4 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1282, allocations: 4 kB / 0.502 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1282, allocations: 7.984 kB / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1282, allocations: 4 kB / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1284, allocations: 35.86 kB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1284, allocations: 4.188 kB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.1285, allocations: 15.95 kB / 0.502 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1285, allocations: 12 kB / 0.502 GB, free: 11.87 MB / 382.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.00013/0.1287, allocations: 138.2 kB / 0.5022 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.1287, allocations: 15.91 kB / 0.5022 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.1288, allocations: 17.47 kB / 0.5022 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1288, allocations: 3.938 kB / 0.5022 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1288, allocations: 0 / 0.5022 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1288, allocations: 7.984 kB / 0.5022 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.1294, allocations: 433.5 kB / 0.5026 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1294, allocations: 3.938 kB / 0.5026 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1295, allocations: 19.98 kB / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1295, allocations: 3.938 kB / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1295, allocations: 8 kB / 0.5027 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1295, allocations: 0 / 0.5027 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1295, allocations: 0 / 0.5027 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.13, allocations: 318.8 kB / 0.503 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.13, allocations: 19.88 kB / 0.503 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1301, allocations: 7.984 kB / 0.503 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1302, allocations: 12 kB / 0.503 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1303, allocations: 7.969 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1303, allocations: 4 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1304, allocations: 147.3 kB / 0.5031 GB, free: 10.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1304, allocations: 0 / 0.5031 GB, free: 10.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1307, allocations: 35.94 kB / 0.5032 GB, free: 10.62 MB / 382.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.0001829/0.1309, allocations: 127 kB / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1312, allocations: 110.9 kB / 0.5034 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1312, allocations: 384 / 0.5034 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1313, allocations: 51.98 kB / 0.5035 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1317, allocations: 34.27 kB / 0.5035 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.1325, allocations: 345 kB / 0.5038 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1329, allocations: 0.7165 MB / 0.5045 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.1329, allocations: 23.42 kB / 0.5045 GB, free: 9.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1329, allocations: 0 / 0.5045 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Templates: time 0.004636/0.1376, allocations: 2.009 MB / 0.5065 GB, free: 7.152 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.14392921817489] Failed to read output from testmodel.py, exit status != 0: 0.14696493581868708 0.346479422 0.22012762099999994 Calling exit ...