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.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.001338/0.001338, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001484/0.001484, allocations: 216.9 kB / 22.99 MB, free: 4.914 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.06634/0.06634, allocations: 11.33 MB / 324.5 MB, free: 8.148 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.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: 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.002175/0.002175, allocations: 66.25 kB / 452.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1269, allocations: 56.07 MB / 0.4964 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002964/0.1299, allocations: 1.594 MB / 0.4979 GB, free: 100 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.1305, allocations: 231.2 kB / 0.4981 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1306, allocations: 0 / 0.4981 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.1306, allocations: 11.81 kB / 0.4982 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.1307, allocations: 19.86 kB / 0.4982 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.131, allocations: 71.8 kB / 0.4982 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1312, allocations: 103.7 kB / 0.4983 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1313, allocations: 21.62 kB / 0.4984 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1314, allocations: 35.8 kB / 0.4984 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1314, allocations: 55.62 kB / 0.4984 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1315, allocations: 8 kB / 0.4985 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.1315, allocations: 27.98 kB / 0.4985 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1316, allocations: 27.86 kB / 0.4985 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.1316, allocations: 47.7 kB / 0.4986 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1318, allocations: 115.5 kB / 0.4987 GB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1318, allocations: 0 / 0.4987 GB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1318, allocations: 0 / 0.4987 GB, free: 15.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1318, allocations: 4 kB / 0.4987 GB, free: 15.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000599/0.1324, allocations: 345.7 kB / 0.499 GB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1325, allocations: 12.03 kB / 0.499 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1325, allocations: 12.84 kB / 0.499 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1327, allocations: 154.3 kB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1327, allocations: 8.375 kB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.1328, allocations: 8.375 kB / 0.4992 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.133, allocations: 90.14 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.133, allocations: 192 / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.133, allocations: 7.938 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.133, allocations: 8 kB / 0.4993 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1331, allocations: 43.97 kB / 0.4993 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.1337, allocations: 304.3 kB / 0.4996 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1339, allocations: 98.64 kB / 0.4997 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.134, allocations: 56.77 kB / 0.4998 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.134, allocations: 4 kB / 0.4998 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1343, allocations: 107.4 kB / 0.4999 GB, free: 13.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1343, allocations: 0 / 0.4999 GB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004216/0.1347, allocations: 185.5 kB / 0.5 GB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1347, allocations: 55.39 kB / 0.5001 GB, free: 13.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1349, allocations: 167.4 kB / 0.5003 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1349, allocations: 33.7 kB / 0.5003 GB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.135, allocations: 108 kB / 0.5004 GB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.135, allocations: 43.67 kB / 0.5004 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.1351, allocations: 45.64 kB / 0.5005 GB, free: 13.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1353, allocations: 330.8 kB / 0.5008 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.1353, allocations: 27.98 kB / 0.5008 GB, free: 12.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1355, allocations: 81.98 kB / 0.5009 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1357, allocations: 128.5 kB / 0.501 GB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1357, allocations: 4 kB / 0.501 GB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002749/0.136, allocations: 161.4 kB / 0.5012 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.136, allocations: 8 kB / 0.5012 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.136, allocations: 0 / 0.5012 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.136, allocations: 4 kB / 0.5012 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1361, allocations: 31.92 kB / 0.5012 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1361, allocations: 4 kB / 0.5012 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.1362, allocations: 20.06 kB / 0.5012 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1362, allocations: 12 kB / 0.5013 GB, free: 12.45 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,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.000116/0.1363, allocations: 124.4 kB / 0.5014 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1364, allocations: 15.91 kB / 0.5014 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.1364, allocations: 17.47 kB / 0.5014 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1364, allocations: 0 / 0.5014 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1364, allocations: 3.984 kB / 0.5014 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1364, allocations: 4 kB / 0.5014 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1369, allocations: 384.9 kB / 0.5018 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1369, allocations: 0 / 0.5018 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.137, allocations: 15.98 kB / 0.5018 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.137, allocations: 7.984 kB / 0.5018 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.137, allocations: 4 kB / 0.5018 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.137, allocations: 0 / 0.5018 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.137, allocations: 0 / 0.5018 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.1375, allocations: 287.4 kB / 0.5021 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.1375, allocations: 15.88 kB / 0.5021 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1375, allocations: 8 kB / 0.5021 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1376, allocations: 8.047 kB / 0.5021 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1376, allocations: 15.92 kB / 0.5021 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1376, allocations: 4 kB / 0.5021 GB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1378, allocations: 124.9 kB / 0.5023 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1378, allocations: 0 / 0.5023 GB, free: 11.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1383, allocations: 35.86 kB / 0.5023 GB, free: 11.33 MB / 382.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.0001634/0.1384, allocations: 115.1 kB / 0.5024 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1387, allocations: 104 kB / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1387, allocations: 0 / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1388, allocations: 43.98 kB / 0.5025 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1391, allocations: 41.92 kB / 0.5026 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.1399, allocations: 309.1 kB / 0.5029 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.218e-05/0.14, allocations: 101.7 kB / 0.503 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.14, allocations: 19.44 kB / 0.503 GB, free: 10.56 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.14, allocations: 0 / 0.503 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Templates: time 0.003608/0.1436, allocations: 1.71 MB / 0.5047 GB, free: 8.852 MB / 382.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: 7.029502196237445] Failed to read output from testmodel.py, exit status != 0: 0.15290774405002594 0.325151357 0.19100934799999994 Calling exit ...