Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.001299/0.001299, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001322/0.001322, allocations: 191.1 kB / 22.23 MB, free: 5.105 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.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.02 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.0659/0.0659, allocations: 11.33 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.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 71.88 kB / 443 MB, free: 6.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1318, allocations: 54.88 MB / 497.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003094/0.1349, allocations: 1.625 MB / 499.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000677/0.1356, allocations: 259.1 kB / 499.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.1356, allocations: 0 / 499.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.1357, allocations: 7.875 kB / 499.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1358, allocations: 15.88 kB / 499.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1361, allocations: 75.8 kB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1363, allocations: 103.7 kB / 500 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1365, allocations: 9.641 kB / 500 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.1366, allocations: 55.72 kB / 0.4883 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.1367, allocations: 47.7 kB / 0.4884 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1367, allocations: 12 kB / 0.4884 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.1368, allocations: 31.97 kB / 0.4884 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.1368, allocations: 27.91 kB / 0.4884 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.1369, allocations: 47.61 kB / 0.4885 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1371, allocations: 115.5 kB / 0.4886 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1371, allocations: 0 / 0.4886 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1371, allocations: 0 / 0.4886 GB, free: 13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1371, allocations: 4 kB / 0.4886 GB, free: 12.99 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007143/0.1379, allocations: 349.6 kB / 0.4889 GB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1379, allocations: 8.031 kB / 0.4889 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.138, allocations: 20.84 kB / 0.489 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1382, allocations: 146.3 kB / 0.4891 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1382, allocations: 8.375 kB / 0.4891 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1382, allocations: 8.375 kB / 0.4891 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1385, allocations: 94.14 kB / 0.4892 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1385, allocations: 192 / 0.4892 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1385, allocations: 7.938 kB / 0.4892 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1385, allocations: 0 / 0.4892 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1387, allocations: 55.89 kB / 0.4893 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.1393, allocations: 343.7 kB / 0.4896 GB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.1396, allocations: 102.6 kB / 0.4897 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1397, allocations: 56.83 kB / 0.4897 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1397, allocations: 0 / 0.4897 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1399, allocations: 103.3 kB / 0.4898 GB, free: 11.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1399, allocations: 0 / 0.4898 GB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004418/0.1404, allocations: 185.5 kB / 0.49 GB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1404, allocations: 59.39 kB / 0.4901 GB, free: 11.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1406, allocations: 171.4 kB / 0.4902 GB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1406, allocations: 29.7 kB / 0.4903 GB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.1407, allocations: 116 kB / 0.4904 GB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.1408, allocations: 43.62 kB / 0.4904 GB, free: 10.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.1408, allocations: 37.7 kB / 0.4905 GB, free: 10.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.141, allocations: 330.8 kB / 0.4908 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.141, allocations: 35.92 kB / 0.4908 GB, free: 10.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1411, allocations: 80.56 kB / 0.4909 GB, free: 10.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1413, allocations: 129.1 kB / 0.491 GB, free: 10.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1413, allocations: 0 / 0.491 GB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002615/0.1416, allocations: 161.5 kB / 0.4912 GB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1416, allocations: 8.031 kB / 0.4912 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1416, allocations: 7.938 kB / 0.4912 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1416, allocations: 0 / 0.4912 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1418, allocations: 31.98 kB / 0.4912 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1418, allocations: 4 kB / 0.4912 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1419, allocations: 15.88 kB / 0.4912 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1419, allocations: 11.98 kB / 0.4912 GB, free: 10.05 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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001207/0.142, allocations: 129.7 kB / 0.4914 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.142, allocations: 15.91 kB / 0.4914 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.1421, allocations: 13.47 kB / 0.4914 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1421, allocations: 4 kB / 0.4914 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1421, allocations: 0 / 0.4914 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1421, allocations: 3.984 kB / 0.4914 GB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1426, allocations: 413.5 kB / 0.4918 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1426, allocations: 0 / 0.4918 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1427, allocations: 19.98 kB / 0.4918 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1427, allocations: 4 kB / 0.4918 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1427, allocations: 4 kB / 0.4918 GB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1428, allocations: 0 / 0.4918 GB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1428, allocations: 3.938 kB / 0.4918 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.1432, allocations: 295.3 kB / 0.4921 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.1432, allocations: 15.88 kB / 0.4921 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1433, allocations: 0 / 0.4921 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1433, allocations: 16.05 kB / 0.4921 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1434, allocations: 11.92 kB / 0.4921 GB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1434, allocations: 4 kB / 0.4922 GB, free: 9.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1435, allocations: 120 kB / 0.4923 GB, free: 8.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1435, allocations: 0 / 0.4923 GB, free: 8.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1438, allocations: 31.98 kB / 0.4923 GB, free: 8.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0001464/0.144, allocations: 107.2 kB / 0.4924 GB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1442, allocations: 110.6 kB / 0.4925 GB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1442, allocations: 0 / 0.4925 GB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1443, allocations: 47.92 kB / 0.4926 GB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1447, allocations: 35.42 kB / 0.4926 GB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.1454, allocations: 287.6 kB / 0.4929 GB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1458, allocations: 0.7085 MB / 0.4936 GB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.1458, allocations: 13.42 kB / 0.4936 GB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1458, allocations: 15.44 kB / 0.4936 GB, free: 7.523 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1458, allocations: 0 / 0.4936 GB, free: 7.523 MB / 366.1 MB Notification: Performance of Templates: time 0.00474/0.1506, allocations: 1.454 MB / 0.495 GB, free: 6.082 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.807111090049148] Failed to read output from testmodel.py, exit status != 0: 0.1586552718654275 0.17300729 0.032830756 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efcfa4d57b0>