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.001628/0.001628, allocations: 110 kB / 18.93 MB, free: 2.945 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.00208/0.00208, allocations: 194.1 kB / 22.23 MB, free: 5.156 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.54/1.54, allocations: 225.6 MB / 251 MB, free: 13 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.06513/0.06513, allocations: 11.34 MB / 317.6 MB, free: 13.75 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.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: 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: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.89 kB / 443 MB, free: 6.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1263, allocations: 54.88 MB / 497.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003055/0.1293, allocations: 1.659 MB / 499.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.1301, allocations: 322.9 kB / 499.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.1301, allocations: 0 / 499.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.1302, allocations: 11.81 kB / 499.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.1303, allocations: 19.8 kB / 499.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1307, allocations: 91.78 kB / 0.4883 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1309, allocations: 131.7 kB / 0.4884 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.131, allocations: 21.67 kB / 0.4884 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.1311, allocations: 55.72 kB / 0.4885 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1312, allocations: 63.62 kB / 0.4885 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.1312, allocations: 12 kB / 0.4886 GB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1313, allocations: 39.97 kB / 0.4886 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1314, allocations: 35.91 kB / 0.4886 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.1314, allocations: 63.53 kB / 0.4887 GB, free: 12.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1317, allocations: 139.4 kB / 0.4888 GB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1317, allocations: 0 / 0.4888 GB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1317, allocations: 4 kB / 0.4888 GB, free: 12.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1317, allocations: 0 / 0.4888 GB, free: 12.73 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.0007265/0.1324, allocations: 385.4 kB / 0.4892 GB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1325, allocations: 12.03 kB / 0.4892 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.1325, allocations: 16.84 kB / 0.4892 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1328, allocations: 170.2 kB / 0.4894 GB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1328, allocations: 4.375 kB / 0.4894 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1328, allocations: 8.375 kB / 0.4894 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.1331, allocations: 134.4 kB / 0.4895 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1331, allocations: 8.109 kB / 0.4895 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1332, allocations: 15.88 kB / 0.4895 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1332, allocations: 0 / 0.4895 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1333, allocations: 47.97 kB / 0.4896 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.134, allocations: 383.6 kB / 0.49 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1343, allocations: 106.6 kB / 0.4901 GB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1344, allocations: 60.83 kB / 0.4901 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1344, allocations: 0 / 0.4901 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.1347, allocations: 115.3 kB / 0.4902 GB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1347, allocations: 0 / 0.4902 GB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004868/0.1352, allocations: 200.2 kB / 0.4904 GB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.1353, allocations: 154.2 kB / 0.4906 GB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1355, allocations: 195.2 kB / 0.4908 GB, free: 10.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1356, allocations: 37.7 kB / 0.4908 GB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.1357, allocations: 120.1 kB / 0.4909 GB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1357, allocations: 47.62 kB / 0.4909 GB, free: 10.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.1358, allocations: 37.7 kB / 0.491 GB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1359, allocations: 330.8 kB / 0.4913 GB, free: 9.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.136, allocations: 35.98 kB / 0.4913 GB, free: 9.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1362, allocations: 119 kB / 0.4914 GB, free: 9.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1364, allocations: 140.4 kB / 0.4916 GB, free: 9.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1364, allocations: 0 / 0.4916 GB, free: 9.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003001/0.1367, allocations: 169.4 kB / 0.4917 GB, free: 9.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1367, allocations: 4 kB / 0.4917 GB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1367, allocations: 4.188 kB / 0.4917 GB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1367, allocations: 4 kB / 0.4918 GB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1369, allocations: 31.97 kB / 0.4918 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1369, allocations: 7.938 kB / 0.4918 GB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1371, allocations: 27.86 kB / 0.4918 GB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1371, allocations: 4 kB / 0.4918 GB, free: 9.379 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.0001299/0.1372, allocations: 128.2 kB / 0.4919 GB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1372, allocations: 11.91 kB / 0.492 GB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.1373, allocations: 25.45 kB / 0.492 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1373, allocations: 7.938 kB / 0.492 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1373, allocations: 0 / 0.492 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1373, allocations: 3.938 kB / 0.492 GB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1379, allocations: 437.5 kB / 0.4924 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1379, allocations: 7.922 kB / 0.4924 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.138, allocations: 16 kB / 0.4924 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.138, allocations: 3.938 kB / 0.4924 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.1381, allocations: 7.984 kB / 0.4924 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1381, allocations: 7.938 kB / 0.4925 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1381, allocations: 0 / 0.4925 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1386, allocations: 314.5 kB / 0.4928 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1386, allocations: 15.88 kB / 0.4928 GB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1387, allocations: 4 kB / 0.4928 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1388, allocations: 12.05 kB / 0.4928 GB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.1389, allocations: 11.98 kB / 0.4928 GB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1389, allocations: 8 kB / 0.4928 GB, free: 8.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.139, allocations: 140.4 kB / 0.4929 GB, free: 8.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.139, allocations: 0 / 0.4929 GB, free: 8.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1393, allocations: 35.94 kB / 0.493 GB, free: 8.133 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.0001857/0.1395, allocations: 119.6 kB / 0.4931 GB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1398, allocations: 115 kB / 0.4932 GB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1398, allocations: 0 / 0.4932 GB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1399, allocations: 51.86 kB / 0.4932 GB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1403, allocations: 31.97 kB / 0.4933 GB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.1411, allocations: 307.3 kB / 0.4936 GB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1415, allocations: 0.7168 MB / 0.4943 GB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.1415, allocations: 21.42 kB / 0.4943 GB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1416, allocations: 19.44 kB / 0.4943 GB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1416, allocations: 0 / 0.4943 GB, free: 6.703 MB / 366.1 MB Notification: Performance of Templates: time 0.005686/0.1472, allocations: 1.966 MB / 0.4962 GB, free: 4.754 MB / 366.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: 4.814594250172377] Failed to read output from testmodel.py, exit status != 0: 0.15526404697448015 0.170280977 0.035589849 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f92e96bd7b0>