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.001912/0.001912, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002351/0.002351, allocations: 223.6 kB / 23.03 MB, free: 4.621 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.03915/0.03915, allocations: 6.139 MB / 319.4 MB, free: 12.77 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.001551/0.001551, allocations: 51.92 kB / 444.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 55.02 MB / 499.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002817/0.1101, allocations: 1.203 MB / 0.4889 GB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.112, allocations: 1.221 MB / 0.4901 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1121, allocations: 4 kB / 0.4901 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1125, allocations: 103.5 kB / 0.4902 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1127, allocations: 55.56 kB / 0.4902 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1138, allocations: 0.5407 MB / 0.4908 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.1141, allocations: 131.4 kB / 0.4909 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1142, allocations: 45.61 kB / 0.4909 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.1143, allocations: 59.83 kB / 0.491 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1144, allocations: 55.66 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1144, allocations: 12 kB / 0.4911 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.1147, allocations: 131.9 kB / 0.4912 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.1147, allocations: 23.92 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1148, allocations: 71.72 kB / 0.4913 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.1152, allocations: 247.1 kB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1152, allocations: 0 / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1152, allocations: 0 / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1152, allocations: 4 kB / 0.4915 GB, free: 10.12 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.001327/0.1165, allocations: 497.3 kB / 0.492 GB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1166, allocations: 12.02 kB / 0.492 GB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.1167, allocations: 42.75 kB / 0.492 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1167, allocations: 16.84 kB / 0.4921 GB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1169, allocations: 150.3 kB / 0.4922 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.117, allocations: 12.38 kB / 0.4922 GB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.117, allocations: 12.38 kB / 0.4922 GB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1173, allocations: 179.9 kB / 0.4924 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1173, allocations: 3.938 kB / 0.4924 GB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1173, allocations: 8 kB / 0.4924 GB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1173, allocations: 4 kB / 0.4924 GB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1175, allocations: 115.9 kB / 0.4925 GB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.1183, allocations: 447.4 kB / 0.4929 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.1192, allocations: 146.4 kB / 0.4931 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.1193, allocations: 48.72 kB / 0.4931 GB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-05/0.1194, allocations: 8 kB / 0.4931 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1194, allocations: 34.56 kB / 0.4932 GB, free: 8.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.1194, allocations: 0 / 0.4932 GB, free: 8.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001121/0.1205, allocations: 266.4 kB / 0.4934 GB, free: 8.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1206, allocations: 63.28 kB / 0.4935 GB, free: 7.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1207, allocations: 140.7 kB / 0.4936 GB, free: 7.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1207, allocations: 29.7 kB / 0.4936 GB, free: 7.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.1208, allocations: 120.2 kB / 0.4938 GB, free: 7.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1208, allocations: 39.69 kB / 0.4938 GB, free: 7.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.1209, allocations: 25.72 kB / 0.4938 GB, free: 7.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1211, allocations: 322.8 kB / 0.4941 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.1211, allocations: 39.98 kB / 0.4942 GB, free: 7.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.1212, allocations: 53.7 kB / 0.4942 GB, free: 7.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1214, allocations: 117.6 kB / 0.4943 GB, free: 7.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1214, allocations: 0 / 0.4943 GB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005181/0.1219, allocations: 210.2 kB / 0.4945 GB, free: 6.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.122, allocations: 10.5 kB / 0.4945 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.122, allocations: 0 / 0.4945 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.1224, allocations: 76.77 kB / 0.4946 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.1225, allocations: 12 kB / 0.4946 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.1244, allocations: 1.537 MB / 0.4961 GB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.1245, allocations: 11.89 kB / 0.4961 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1245, allocations: 4.141 kB / 0.4961 GB, free: 5.031 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.000136/0.1247, allocations: 125.9 kB / 0.4963 GB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1247, allocations: 15.88 kB / 0.4963 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.1253, allocations: 202.6 kB / 0.4965 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1253, allocations: 4 kB / 0.4965 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1253, allocations: 0 / 0.4965 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1253, allocations: 0 / 0.4965 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1255, allocations: 192.6 kB / 0.4967 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1255, allocations: 4 kB / 0.4967 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1256, allocations: 12 kB / 0.4967 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.1259, allocations: 73.14 kB / 0.4967 GB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1259, allocations: 4 kB / 0.4968 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.1277, allocations: 1.526 MB / 0.4982 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1277, allocations: 0 / 0.4982 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.1282, allocations: 288.1 kB / 0.4985 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.1283, allocations: 11.89 kB / 0.4985 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1283, allocations: 8 kB / 0.4985 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1284, allocations: 0 / 0.4985 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1284, allocations: 11.98 kB / 0.4985 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1284, allocations: 4 kB / 0.4986 GB, free: 2.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.1285, allocations: 91.27 kB / 0.4986 GB, free: 2.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1285, allocations: 4 kB / 0.4986 GB, free: 2.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1288, allocations: 55.83 kB / 0.4987 GB, free: 2.223 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.000948/0.1298, allocations: 0.8184 MB / 0.4995 GB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.1305, allocations: 247 kB / 0.4997 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1305, allocations: 0 / 0.4997 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.1309, allocations: 202.6 kB / 0.4999 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1311, allocations: 8.438 kB / 0.4999 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.1337, allocations: 1.788 MB / 0.5017 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.509e-05/0.1338, allocations: 90.28 kB / 0.5018 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.1338, allocations: 20.64 kB / 0.5018 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.1339, allocations: 39.42 kB / 0.5018 GB, free: 14.86 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1339, allocations: 0 / 0.5018 GB, free: 14.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.1675, allocations: 4.141 MB / 0.5059 GB, free: 10.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.01, allocations: 11.09 kB / 0.5059 GB, free: 10.84 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_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_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.945241504348814] Failed to read output from testmodel.py, exit status != 0: 12.119857972022146 12.343325707 12.224683986 Calling exit ...