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.001881/0.001881, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002487/0.002487, allocations: 219.2 kB / 23.03 MB, free: 5.016 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03631/0.03631, allocations: 6.132 MB / 319.4 MB, free: 12.81 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.001675/0.001675, allocations: 55.92 kB / 444.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1066, allocations: 55.02 MB / 499.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002834/0.1094, allocations: 1.2 MB / 0.4889 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1113, allocations: 1.224 MB / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1114, allocations: 0 / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.1118, allocations: 107.5 kB / 0.4902 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1121, allocations: 59.62 kB / 0.4902 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1132, allocations: 0.5368 MB / 0.4908 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1135, allocations: 127.4 kB / 0.4909 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1136, allocations: 49.66 kB / 0.4909 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.1137, allocations: 51.8 kB / 0.491 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1138, allocations: 59.69 kB / 0.491 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1139, allocations: 16 kB / 0.4911 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.1142, allocations: 143.8 kB / 0.4912 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.1142, allocations: 23.92 kB / 0.4912 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.1143, allocations: 51.73 kB / 0.4913 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.1148, allocations: 259.1 kB / 0.4915 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1148, allocations: 0 / 0.4915 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1148, allocations: 0 / 0.4915 GB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1148, allocations: 0 / 0.4915 GB, free: 10.16 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.001403/0.1162, allocations: 489.4 kB / 0.492 GB, free: 9.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1162, allocations: 12.03 kB / 0.492 GB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.1163, allocations: 46.73 kB / 0.492 GB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.1164, allocations: 20.78 kB / 0.4921 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1166, allocations: 150.3 kB / 0.4922 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1166, allocations: 8.375 kB / 0.4922 GB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1167, allocations: 16.38 kB / 0.4922 GB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.117, allocations: 183.9 kB / 0.4924 GB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.117, allocations: 3.938 kB / 0.4924 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.117, allocations: 4 kB / 0.4924 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.117, allocations: 4 kB / 0.4924 GB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.1172, allocations: 116 kB / 0.4925 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.1181, allocations: 443.4 kB / 0.4929 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.1189, allocations: 150.5 kB / 0.4931 GB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.119, allocations: 40.78 kB / 0.4931 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.884e-05/0.1191, allocations: 8.125 kB / 0.4931 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1191, allocations: 38.56 kB / 0.4932 GB, free: 8.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.366e-06/0.1191, allocations: 3.984 kB / 0.4932 GB, free: 8.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001154/0.1203, allocations: 270.2 kB / 0.4934 GB, free: 8.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1203, allocations: 59.34 kB / 0.4935 GB, free: 7.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1205, allocations: 141.7 kB / 0.4936 GB, free: 7.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.1205, allocations: 25.7 kB / 0.4937 GB, free: 7.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.1206, allocations: 124.2 kB / 0.4938 GB, free: 7.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1206, allocations: 35.62 kB / 0.4938 GB, free: 7.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.1207, allocations: 29.72 kB / 0.4938 GB, free: 7.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1208, allocations: 322.8 kB / 0.4941 GB, free: 7.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1209, allocations: 35.98 kB / 0.4942 GB, free: 7.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.121, allocations: 55.95 kB / 0.4942 GB, free: 7.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1212, allocations: 109.6 kB / 0.4943 GB, free: 7.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1212, allocations: 0 / 0.4943 GB, free: 7.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005287/0.1218, allocations: 214.2 kB / 0.4945 GB, free: 6.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1218, allocations: 4 kB / 0.4945 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1218, allocations: 7.984 kB / 0.4945 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.1222, allocations: 76.77 kB / 0.4946 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.1223, allocations: 20.03 kB / 0.4946 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.1241, allocations: 1.533 MB / 0.4961 GB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.1242, allocations: 15.98 kB / 0.4962 GB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1242, allocations: 4 kB / 0.4962 GB, free: 5.066 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.0001203/0.1243, allocations: 121.8 kB / 0.4963 GB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1244, allocations: 7.953 kB / 0.4963 GB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.1249, allocations: 206.7 kB / 0.4965 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1249, allocations: 0 / 0.4965 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1249, allocations: 8 kB / 0.4965 GB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1249, allocations: 0 / 0.4965 GB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1252, allocations: 192.6 kB / 0.4967 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1252, allocations: 0 / 0.4967 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.1252, allocations: 11.94 kB / 0.4967 GB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/0.1256, allocations: 76.77 kB / 0.4968 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1256, allocations: 0 / 0.4968 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.1273, allocations: 1.529 MB / 0.4982 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1273, allocations: 0 / 0.4982 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.1278, allocations: 280.6 kB / 0.4985 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.1279, allocations: 15.88 kB / 0.4985 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1279, allocations: 0 / 0.4985 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.128, allocations: 8 kB / 0.4985 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.128, allocations: 11.92 kB / 0.4985 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.128, allocations: 144 / 0.4985 GB, free: 2.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.361e-05/0.1281, allocations: 102.4 kB / 0.4986 GB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1281, allocations: 0 / 0.4986 GB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1284, allocations: 55.83 kB / 0.4987 GB, free: 2.266 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.0009443/0.1294, allocations: 0.8263 MB / 0.4995 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.1301, allocations: 246.5 kB / 0.4997 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1301, allocations: 0 / 0.4997 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.1305, allocations: 198.6 kB / 0.4999 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1307, allocations: 8 kB / 0.4999 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1333, allocations: 1.783 MB / 0.5017 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.1334, allocations: 90.28 kB / 0.5018 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.1334, allocations: 12.66 kB / 0.5018 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.1335, allocations: 43.42 kB / 0.5018 GB, free: 14.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1335, allocations: 0 / 0.5018 GB, free: 14.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.1695, allocations: 4.149 MB / 0.5059 GB, free: 10.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.1, allocations: 0 / 0.5059 GB, free: 10.89 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: 15.019460018258542] Failed to read output from testmodel.py, exit status != 0: 12.205809549894184 12.40664706 12.288302796 Calling exit ...