Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001424/0.001424, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.001711/0.001711, allocations: 216.8 kB / 23.05 MB, free: 4.996 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03928/0.03928, allocations: 6.138 MB / 319.4 MB, free: 12.98 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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: "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 47.92 kB / 444.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1097, allocations: 55.02 MB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002907/0.1126, allocations: 1.282 MB / 0.4891 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1147, allocations: 1.279 MB / 0.4903 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1149, allocations: 0 / 0.4903 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.1153, allocations: 111.5 kB / 0.4904 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1156, allocations: 55.62 kB / 0.4905 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1168, allocations: 0.5951 MB / 0.491 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.1171, allocations: 127.5 kB / 0.4912 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1173, allocations: 53.64 kB / 0.4912 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.1174, allocations: 51.8 kB / 0.4913 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1175, allocations: 71.64 kB / 0.4913 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1175, allocations: 12 kB / 0.4913 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.1179, allocations: 139.9 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1179, allocations: 27.91 kB / 0.4915 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.118, allocations: 71.67 kB / 0.4916 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.1185, allocations: 247.1 kB / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1185, allocations: 3.984 kB / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1185, allocations: 0 / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1185, allocations: 4 kB / 0.4918 GB, free: 10.19 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001437/0.12, allocations: 493.3 kB / 0.4923 GB, free: 9.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.12, allocations: 15.97 kB / 0.4923 GB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.1201, allocations: 46.73 kB / 0.4923 GB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1202, allocations: 16.84 kB / 0.4924 GB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1204, allocations: 150.3 kB / 0.4925 GB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1204, allocations: 12.38 kB / 0.4925 GB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1205, allocations: 16.38 kB / 0.4925 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1208, allocations: 150.2 kB / 0.4927 GB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1208, allocations: 7.938 kB / 0.4927 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1208, allocations: 4 kB / 0.4927 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1208, allocations: 4 kB / 0.4927 GB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.121, allocations: 115.9 kB / 0.4928 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.1219, allocations: 499.3 kB / 0.4933 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/0.1228, allocations: 142.5 kB / 0.4934 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.1229, allocations: 36.8 kB / 0.4934 GB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.123, allocations: 19.95 kB / 0.4935 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.123, allocations: 34.56 kB / 0.4935 GB, free: 8.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.123, allocations: 0 / 0.4935 GB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001224/0.1243, allocations: 274.3 kB / 0.4938 GB, free: 8.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1243, allocations: 55.34 kB / 0.4938 GB, free: 7.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1244, allocations: 137.3 kB / 0.4939 GB, free: 7.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.1245, allocations: 29.7 kB / 0.494 GB, free: 7.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.1245, allocations: 132.2 kB / 0.4941 GB, free: 7.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1246, allocations: 27.75 kB / 0.4941 GB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.1246, allocations: 29.7 kB / 0.4942 GB, free: 7.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1248, allocations: 322.8 kB / 0.4945 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.1249, allocations: 36 kB / 0.4945 GB, free: 7.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.125, allocations: 59.81 kB / 0.4946 GB, free: 7.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1252, allocations: 109.7 kB / 0.4947 GB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1252, allocations: 3.938 kB / 0.4947 GB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005139/0.1257, allocations: 206.2 kB / 0.4949 GB, free: 6.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1257, allocations: 4 kB / 0.4949 GB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1257, allocations: 4 kB / 0.4949 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004251/0.1262, allocations: 76.8 kB / 0.4949 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.1262, allocations: 19.98 kB / 0.495 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.1281, allocations: 1.549 MB / 0.4965 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.1282, allocations: 8.016 kB / 0.4965 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1282, allocations: 8.031 kB / 0.4965 GB, free: 5.074 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.1283, allocations: 125.8 kB / 0.4966 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1283, allocations: 7.953 kB / 0.4966 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.1289, allocations: 214.7 kB / 0.4968 GB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1289, allocations: 8 kB / 0.4968 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1289, allocations: 0 / 0.4968 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1289, allocations: 0 / 0.4968 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1292, allocations: 196.6 kB / 0.497 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1292, allocations: 0 / 0.497 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.1292, allocations: 15.98 kB / 0.497 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.1296, allocations: 72.77 kB / 0.4971 GB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1296, allocations: 12 kB / 0.4971 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1313, allocations: 1.525 MB / 0.4986 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1313, allocations: 0 / 0.4986 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.1319, allocations: 288.2 kB / 0.4989 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.1319, allocations: 11.89 kB / 0.4989 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1319, allocations: 384 / 0.4989 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.132, allocations: 4.141 kB / 0.4989 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.132, allocations: 11.97 kB / 0.4989 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1321, allocations: 8 kB / 0.4989 GB, free: 2.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.1321, allocations: 107.2 kB / 0.499 GB, free: 2.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1321, allocations: 0 / 0.499 GB, free: 2.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1325, allocations: 51.83 kB / 0.4991 GB, free: 2.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000926/0.1334, allocations: 0.8223 MB / 0.4999 GB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.1341, allocations: 242.6 kB / 0.5001 GB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1341, allocations: 4 kB / 0.5001 GB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.1345, allocations: 194.5 kB / 0.5003 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1347, allocations: 12.94 kB / 0.5003 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1373, allocations: 1.778 MB / 0.502 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1377, allocations: 0.708 MB / 0.5027 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.1377, allocations: 8.656 kB / 0.5027 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.1378, allocations: 39.42 kB / 0.5028 GB, free: 14.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1378, allocations: 4 kB / 0.5028 GB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.172, allocations: 3.709 MB / 0.5064 GB, free: 10.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.71, allocations: 6.5 kB / 0.5064 GB, free: 10.68 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.675434841075912] Failed to read output from testmodel.py, exit status != 0: 11.857683524023741 12.090810142 11.969049963 Calling exit ...