Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.001866/0.001866, allocations: 109.7 kB / 19.74 MB, free: 2.156 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.002156/0.002156, allocations: 186.2 kB / 23.02 MB, free: 5.016 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.641/1.641, allocations: 225.6 MB / 251.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06003/0.06003, allocations: 8.235 MB / 315.3 MB, free: 400 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.91 kB / 439.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 54.39 MB / 494.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003099/0.1062, allocations: 1.766 MB / 495.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1082, allocations: 1.341 MB / 497.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.1083, allocations: 4 kB / 497.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1086, allocations: 107.4 kB / 497.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1089, allocations: 91.31 kB / 497.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1099, allocations: 462.2 kB / 497.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1102, allocations: 226.9 kB / 498.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1104, allocations: 78.94 kB / 498.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1105, allocations: 103.6 kB / 498.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1108, allocations: 139.5 kB / 498.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.1109, allocations: 24 kB / 498.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1112, allocations: 123.9 kB / 498.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1113, allocations: 47.78 kB / 498.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1114, allocations: 123.4 kB / 498.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.1119, allocations: 334.8 kB / 499.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1119, allocations: 0 / 499.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1119, allocations: 3.938 kB / 499.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1119, allocations: 0 / 499.1 MB, free: 0.7617 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001899/0.1138, allocations: 0.595 MB / 499.7 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1139, allocations: 15.89 kB / 499.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.114, allocations: 28.75 kB / 499.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1142, allocations: 150.2 kB / 499.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1142, allocations: 16.88 kB / 499.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1143, allocations: 20.38 kB / 499.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1147, allocations: 295.2 kB / 0.4884 GB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1148, allocations: 192 / 0.4884 GB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.1148, allocations: 19.88 kB / 0.4885 GB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1148, allocations: 4 kB / 0.4885 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1152, allocations: 253.3 kB / 0.4887 GB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.1169, allocations: 0.9324 MB / 0.4896 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.1178, allocations: 277.5 kB / 0.4899 GB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.118, allocations: 77.7 kB / 0.49 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.118, allocations: 16.2 kB / 0.49 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.1181, allocations: 38.5 kB / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.1181, allocations: 0 / 0.49 GB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001368/0.1194, allocations: 375 kB / 0.4904 GB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.1195, allocations: 77.48 kB / 0.4904 GB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.1198, allocations: 198.5 kB / 0.4906 GB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.1199, allocations: 33.7 kB / 0.4907 GB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.12, allocations: 164.1 kB / 0.4908 GB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.1201, allocations: 79.31 kB / 0.4909 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.1202, allocations: 53.69 kB / 0.4909 GB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1204, allocations: 330.8 kB / 0.4913 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.1206, allocations: 87.97 kB / 0.4913 GB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1207, allocations: 127.3 kB / 0.4915 GB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.1211, allocations: 223.3 kB / 0.4917 GB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1211, allocations: 0 / 0.4917 GB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007292/0.1218, allocations: 323 kB / 0.492 GB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1218, allocations: 8 kB / 0.492 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1219, allocations: 0 / 0.492 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.1223, allocations: 81.7 kB / 0.4921 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1225, allocations: 43.92 kB / 0.4921 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.1257, allocations: 2.688 MB / 0.4947 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.126, allocations: 31.97 kB / 0.4948 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1261, allocations: 4 kB / 0.4948 GB, free: 8.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.1263, allocations: 141.8 kB / 0.4949 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.1263, allocations: 15.91 kB / 0.4949 GB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.127, allocations: 304.9 kB / 0.4952 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.127, allocations: 4 kB / 0.4952 GB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.127, allocations: 0 / 0.4952 GB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.127, allocations: 0 / 0.4952 GB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.1279, allocations: 0.5216 MB / 0.4957 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1279, allocations: 0 / 0.4957 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.128, allocations: 35.92 kB / 0.4958 GB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.1284, allocations: 77.64 kB / 0.4958 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1284, allocations: 7.984 kB / 0.4958 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.1312, allocations: 2.664 MB / 0.4984 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1312, allocations: 4.062 kB / 0.4985 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.1318, allocations: 431.5 kB / 0.4989 GB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1319, allocations: 27.83 kB / 0.4989 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1319, allocations: 3.938 kB / 0.4989 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1321, allocations: 23.92 kB / 0.4989 GB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1322, allocations: 19.97 kB / 0.4989 GB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1322, allocations: 4 kB / 0.4989 GB, free: 4.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.1325, allocations: 152.2 kB / 0.4991 GB, free: 3.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1325, allocations: 4 kB / 0.4991 GB, free: 3.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006542/0.1331, allocations: 71.89 kB / 0.4992 GB, free: 3.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.1334, allocations: 119.1 kB / 0.4993 GB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.1343, allocations: 433.2 kB / 0.4997 GB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1343, allocations: 4.125 kB / 0.4997 GB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.1348, allocations: 329.3 kB / 0.5 GB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.1353, allocations: 25.23 kB / 0.5 GB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.136, allocations: 446 kB / 0.5004 GB, free: 2.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.1365, allocations: 0.7363 MB / 0.5012 GB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1366, allocations: 25.62 kB / 0.5012 GB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.1366, allocations: 27.41 kB / 0.5012 GB, free: 1.609 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1366, allocations: 0 / 0.5012 GB, free: 1.609 MB / 366.1 MB Notification: Performance of Templates: time 0.007877/0.1445, allocations: 3.269 MB / 0.5044 GB, free: 14.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.919519290328026] Failed to read output from testmodel.py, exit status != 0: 0.1521076476201415 0.17152985 0.055303547 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f72ce3717b0>