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.001612/0.001612, allocations: 115.5 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.001956/0.001956, allocations: 219.2 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.0604/0.0604, allocations: 6.133 MB / 319.4 MB, free: 13.01 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.002309/0.002309, allocations: 55.92 kB / 444.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 55.01 MB / 499.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002684/0.117, allocations: 1.282 MB / 0.489 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1187, allocations: 1.287 MB / 0.4903 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.1188, allocations: 0 / 0.4903 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1192, allocations: 111.5 kB / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1193, allocations: 59.62 kB / 0.4905 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1205, allocations: 0.5874 MB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.1207, allocations: 131.4 kB / 0.4912 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1209, allocations: 53.64 kB / 0.4912 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.1209, allocations: 55.8 kB / 0.4913 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.121, allocations: 63.7 kB / 0.4913 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1211, allocations: 12 kB / 0.4913 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1213, allocations: 143.8 kB / 0.4915 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.1214, allocations: 31.91 kB / 0.4915 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.1215, allocations: 67.67 kB / 0.4916 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.1219, allocations: 247.1 kB / 0.4918 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1219, allocations: 4 kB / 0.4918 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1219, allocations: 3.938 kB / 0.4918 GB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1219, allocations: 0 / 0.4918 GB, free: 10.23 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.001405/0.1233, allocations: 0.4934 MB / 0.4923 GB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1233, allocations: 8.031 kB / 0.4923 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.1234, allocations: 46.73 kB / 0.4924 GB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.1234, allocations: 16.84 kB / 0.4924 GB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1236, allocations: 146.3 kB / 0.4925 GB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1237, allocations: 12.38 kB / 0.4925 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1237, allocations: 12.38 kB / 0.4925 GB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.124, allocations: 158.2 kB / 0.4927 GB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.124, allocations: 3.938 kB / 0.4927 GB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.124, allocations: 4 kB / 0.4927 GB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.124, allocations: 4 kB / 0.4927 GB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1242, allocations: 115.9 kB / 0.4928 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.1251, allocations: 499.3 kB / 0.4933 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.1259, allocations: 138.5 kB / 0.4934 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.126, allocations: 40.78 kB / 0.4935 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1261, allocations: 8 kB / 0.4935 GB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1262, allocations: 38.67 kB / 0.4935 GB, free: 8.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1262, allocations: 0 / 0.4935 GB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001151/0.1273, allocations: 274.2 kB / 0.4938 GB, free: 8.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1274, allocations: 55.34 kB / 0.4938 GB, free: 8.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1275, allocations: 137.1 kB / 0.4939 GB, free: 7.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1275, allocations: 29.7 kB / 0.494 GB, free: 7.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.1276, allocations: 124.2 kB / 0.4941 GB, free: 7.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1276, allocations: 31.73 kB / 0.4941 GB, free: 7.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.1277, allocations: 33.7 kB / 0.4942 GB, free: 7.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1278, allocations: 318.8 kB / 0.4945 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.1279, allocations: 43.92 kB / 0.4945 GB, free: 7.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.128, allocations: 57.7 kB / 0.4946 GB, free: 7.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1282, allocations: 105.6 kB / 0.4947 GB, free: 7.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1282, allocations: 384 / 0.4947 GB, free: 7.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005247/0.1287, allocations: 210.2 kB / 0.4949 GB, free: 6.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1288, allocations: 8 kB / 0.4949 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1288, allocations: 0 / 0.4949 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.1292, allocations: 84.64 kB / 0.4949 GB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1293, allocations: 16 kB / 0.495 GB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1311, allocations: 1.557 MB / 0.4965 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.1312, allocations: 7.984 kB / 0.4965 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1312, allocations: 4 kB / 0.4965 GB, free: 5.113 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.0001824/0.1314, allocations: 125.9 kB / 0.4966 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1315, allocations: 7.953 kB / 0.4966 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.132, allocations: 206.5 kB / 0.4968 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.132, allocations: 4 kB / 0.4968 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.132, allocations: 0 / 0.4968 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.132, allocations: 0 / 0.4968 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.1323, allocations: 200.6 kB / 0.497 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1323, allocations: 0 / 0.497 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1323, allocations: 15.94 kB / 0.497 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.1327, allocations: 72.77 kB / 0.4971 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1327, allocations: 8 kB / 0.4971 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.1345, allocations: 1.541 MB / 0.4986 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1345, allocations: 0 / 0.4986 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.135, allocations: 284.2 kB / 0.4989 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.135, allocations: 15.88 kB / 0.4989 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.135, allocations: 0 / 0.4989 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1351, allocations: 7.5 kB / 0.4989 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1352, allocations: 7.984 kB / 0.4989 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1352, allocations: 4 kB / 0.4989 GB, free: 2.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.1353, allocations: 99.27 kB / 0.499 GB, free: 2.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1353, allocations: 0 / 0.499 GB, free: 2.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1356, allocations: 51.83 kB / 0.4991 GB, free: 2.289 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.000981/0.1366, allocations: 0.8224 MB / 0.4999 GB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.1373, allocations: 246.5 kB / 0.5001 GB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1373, allocations: 4.062 kB / 0.5001 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.1377, allocations: 190.6 kB / 0.5003 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.138, allocations: 16.81 kB / 0.5003 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.1406, allocations: 1.767 MB / 0.502 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.141, allocations: 0.7196 MB / 0.5027 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.141, allocations: 12.69 kB / 0.5027 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.1411, allocations: 39.42 kB / 0.5028 GB, free: 14.31 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1411, allocations: 0 / 0.5028 GB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.175, allocations: 3.712 MB / 0.5064 GB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.5, allocations: 7.609 kB / 0.5064 GB, free: 10.72 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.440106877002108] Failed to read output from testmodel.py, exit status != 0: 11.613584344006085 11.830915495 11.705960365 Calling exit ...