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.001296/0.001296, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001372/0.001372, allocations: 210.7 kB / 23 MB, free: 4.566 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.06595/0.06595, allocations: 11.34 MB / 324.5 MB, free: 8.219 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.001936/0.001936, allocations: 71.89 kB / 452.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 56.07 MB / 0.4964 GB, free: 1.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003117/0.1084, allocations: 1.631 MB / 0.498 GB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.109, allocations: 243.2 kB / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.1091, allocations: 3.938 kB / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.1091, allocations: 7.875 kB / 0.4983 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1092, allocations: 19.84 kB / 0.4983 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1095, allocations: 71.81 kB / 0.4984 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1097, allocations: 111.6 kB / 0.4985 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1098, allocations: 17.62 kB / 0.4985 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.1098, allocations: 43.78 kB / 0.4985 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.1099, allocations: 51.7 kB / 0.4986 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1099, allocations: 8 kB / 0.4986 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.11, allocations: 27.98 kB / 0.4986 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.11, allocations: 27.91 kB / 0.4986 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1101, allocations: 55.61 kB / 0.4987 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1103, allocations: 107.5 kB / 0.4988 GB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1103, allocations: 0 / 0.4988 GB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1103, allocations: 4 kB / 0.4988 GB, free: 15.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1103, allocations: 0 / 0.4988 GB, free: 15.4 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.0006114/0.1109, allocations: 353.7 kB / 0.4991 GB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.111, allocations: 8.031 kB / 0.4991 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.111, allocations: 16.84 kB / 0.4992 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1112, allocations: 154.3 kB / 0.4993 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1112, allocations: 4.375 kB / 0.4993 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1112, allocations: 8.375 kB / 0.4993 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1115, allocations: 98.08 kB / 0.4994 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1115, allocations: 192 / 0.4994 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1115, allocations: 7.938 kB / 0.4994 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1115, allocations: 0 / 0.4994 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1116, allocations: 51.91 kB / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.1123, allocations: 347.7 kB / 0.4998 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1125, allocations: 98.56 kB / 0.4999 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1126, allocations: 56.78 kB / 0.5 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1126, allocations: 0 / 0.5 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.1128, allocations: 103.3 kB / 0.5001 GB, free: 13.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1128, allocations: 4 kB / 0.5001 GB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004548/0.1133, allocations: 189.5 kB / 0.5002 GB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1133, allocations: 51.41 kB / 0.5003 GB, free: 13.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1135, allocations: 167.4 kB / 0.5004 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1135, allocations: 33.7 kB / 0.5005 GB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.1136, allocations: 112 kB / 0.5006 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.1137, allocations: 39.67 kB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1137, allocations: 41.7 kB / 0.5007 GB, free: 13.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1139, allocations: 330.8 kB / 0.501 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.1139, allocations: 31.98 kB / 0.501 GB, free: 12.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1141, allocations: 84.2 kB / 0.5011 GB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1143, allocations: 132.7 kB / 0.5012 GB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1143, allocations: 4 kB / 0.5012 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00027/0.1145, allocations: 161.5 kB / 0.5014 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1145, allocations: 11.98 kB / 0.5014 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1145, allocations: 0 / 0.5014 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1146, allocations: 4 kB / 0.5014 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1147, allocations: 27.92 kB / 0.5014 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1147, allocations: 4 kB / 0.5014 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.1148, allocations: 15.89 kB / 0.5014 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1148, allocations: 8 kB / 0.5014 GB, free: 12.46 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.0001053/0.1149, allocations: 129.9 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1149, allocations: 15.91 kB / 0.5016 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.115, allocations: 21.45 kB / 0.5016 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.115, allocations: 0 / 0.5016 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.115, allocations: 3.938 kB / 0.5016 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.115, allocations: 0 / 0.5016 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1155, allocations: 413.5 kB / 0.502 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1155, allocations: 4 kB / 0.502 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1156, allocations: 16 kB / 0.502 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1156, allocations: 0 / 0.502 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1156, allocations: 7.984 kB / 0.502 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1156, allocations: 0 / 0.502 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1156, allocations: 3.938 kB / 0.502 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.1161, allocations: 293.7 kB / 0.5023 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.1161, allocations: 27.92 kB / 0.5023 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1161, allocations: 0 / 0.5023 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.1162, allocations: 8 kB / 0.5023 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1162, allocations: 11.91 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1163, allocations: 7.984 kB / 0.5024 GB, free: 11.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.1164, allocations: 128.9 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1164, allocations: 0 / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1166, allocations: 24 kB / 0.5025 GB, free: 11.29 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.0001532/0.1168, allocations: 119.1 kB / 0.5026 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.117, allocations: 95.84 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.117, allocations: 0 / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1171, allocations: 47.97 kB / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1175, allocations: 31.31 kB / 0.5028 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.1182, allocations: 325.4 kB / 0.5031 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1185, allocations: 0.7085 MB / 0.5038 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.1186, allocations: 15.44 kB / 0.5038 GB, free: 9.902 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1186, allocations: 0 / 0.5038 GB, free: 9.902 MB / 382.1 MB Notification: Performance of Templates: time 0.003724/0.1223, allocations: 1.676 MB / 0.5054 GB, free: 8.23 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.095730257919058] Failed to read output from testmodel.py, exit status != 0: 0.13076273212209344 0.32755700899999995 0.214867154 Calling exit ...