Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001479/0.001479, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.00183/0.00183, allocations: 222.7 kB / 23.06 MB, free: 4.938 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.05513/0.05513, allocations: 6.134 MB / 319.4 MB, free: 13 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 43.92 kB / 444.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 55.02 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002654/0.1085, allocations: 1.285 MB / 0.4891 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1103, allocations: 1.287 MB / 0.4903 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.1104, allocations: 0 / 0.4903 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1108, allocations: 103.5 kB / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.111, allocations: 59.61 kB / 0.4905 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1122, allocations: 0.5835 MB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.1125, allocations: 147.3 kB / 0.4912 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1126, allocations: 49.89 kB / 0.4912 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.1127, allocations: 59.78 kB / 0.4913 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1129, allocations: 67.69 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1129, allocations: 12 kB / 0.4914 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.1132, allocations: 143.8 kB / 0.4915 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1132, allocations: 23.92 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.1133, allocations: 75.66 kB / 0.4916 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1137, allocations: 247.1 kB / 0.4918 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1137, allocations: 0 / 0.4918 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1137, allocations: 4 kB / 0.4918 GB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1137, allocations: 0 / 0.4918 GB, free: 10.21 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.001302/0.115, allocations: 0.4895 MB / 0.4923 GB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1151, allocations: 12.03 kB / 0.4923 GB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.1151, allocations: 42.75 kB / 0.4924 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1152, allocations: 16.84 kB / 0.4924 GB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1154, allocations: 150.3 kB / 0.4925 GB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.1155, allocations: 8.375 kB / 0.4925 GB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1155, allocations: 16.38 kB / 0.4925 GB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1158, allocations: 154.2 kB / 0.4927 GB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1158, allocations: 3.938 kB / 0.4927 GB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1158, allocations: 4 kB / 0.4927 GB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1158, allocations: 4 kB / 0.4927 GB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.116, allocations: 120 kB / 0.4928 GB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.1169, allocations: 495.3 kB / 0.4933 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.1178, allocations: 142.5 kB / 0.4934 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.1179, allocations: 36.8 kB / 0.4935 GB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.07e-05/0.1179, allocations: 11.98 kB / 0.4935 GB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.118, allocations: 38.69 kB / 0.4935 GB, free: 8.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.118, allocations: 0 / 0.4935 GB, free: 8.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001123/0.1191, allocations: 262.2 kB / 0.4938 GB, free: 8.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1192, allocations: 67.72 kB / 0.4938 GB, free: 8.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1193, allocations: 125.8 kB / 0.4939 GB, free: 7.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1193, allocations: 33.7 kB / 0.494 GB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.1194, allocations: 124.2 kB / 0.4941 GB, free: 7.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1194, allocations: 35.67 kB / 0.4941 GB, free: 7.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.1195, allocations: 33.7 kB / 0.4942 GB, free: 7.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1196, allocations: 318.8 kB / 0.4945 GB, free: 7.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/0.1197, allocations: 43.92 kB / 0.4945 GB, free: 7.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.1198, allocations: 61.7 kB / 0.4946 GB, free: 7.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.12, allocations: 101.7 kB / 0.4947 GB, free: 7.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.12, allocations: 0 / 0.4947 GB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005275/0.1205, allocations: 206.3 kB / 0.4949 GB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1206, allocations: 12.02 kB / 0.4949 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1206, allocations: 3.938 kB / 0.4949 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.121, allocations: 72.78 kB / 0.4949 GB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.1211, allocations: 15.98 kB / 0.495 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.1229, allocations: 1.553 MB / 0.4965 GB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.123, allocations: 7.984 kB / 0.4965 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.123, allocations: 8 kB / 0.4965 GB, free: 5.105 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.0001173/0.1231, allocations: 117.8 kB / 0.4966 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1232, allocations: 7.953 kB / 0.4966 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.1237, allocations: 218.6 kB / 0.4968 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1237, allocations: 0 / 0.4968 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1237, allocations: 0 / 0.4968 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1237, allocations: 0 / 0.4968 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.124, allocations: 200.6 kB / 0.497 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.124, allocations: 0 / 0.497 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.1241, allocations: 11.94 kB / 0.497 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.1244, allocations: 84.89 kB / 0.4971 GB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1244, allocations: 4 kB / 0.4971 GB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.1262, allocations: 1.529 MB / 0.4986 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1262, allocations: 4.062 kB / 0.4986 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.1267, allocations: 280.1 kB / 0.4989 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.1267, allocations: 11.89 kB / 0.4989 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1268, allocations: 0 / 0.4989 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1269, allocations: 8 kB / 0.4989 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1269, allocations: 7.984 kB / 0.4989 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1269, allocations: 7.984 kB / 0.4989 GB, free: 2.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.127, allocations: 102.2 kB / 0.499 GB, free: 2.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.127, allocations: 0 / 0.499 GB, free: 2.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.1273, allocations: 51.83 kB / 0.499 GB, free: 2.285 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.0009457/0.1283, allocations: 0.8266 MB / 0.4999 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.1289, allocations: 250.5 kB / 0.5001 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1289, allocations: 3.938 kB / 0.5001 GB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.1294, allocations: 202.6 kB / 0.5003 GB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1296, allocations: 11.98 kB / 0.5003 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.1321, allocations: 1.767 MB / 0.502 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1325, allocations: 0.7119 MB / 0.5027 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1325, allocations: 4.672 kB / 0.5027 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1326, allocations: 43.42 kB / 0.5028 GB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1326, allocations: 0 / 0.5028 GB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.1658, allocations: 3.723 MB / 0.5064 GB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.62, allocations: 8 kB / 0.5064 GB, free: 10.7 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.60187973617576] Failed to read output from testmodel.py, exit status != 0: 11.742180970031768 11.932822183 11.816259113 Calling exit ...