Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.001481/0.001481, allocations: 111.4 kB / 17.16 MB, free: 5.887 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.001402/0.001402, allocations: 208 kB / 20.14 MB, free: 2.934 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.03731/0.03731, allocations: 6.13 MB / 315.7 MB, free: 1.137 MB / 238.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.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 49.91 kB / 439.3 MB, free: 40.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09873, allocations: 54.97 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002762/0.1015, allocations: 2.066 MB / 496.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1032, allocations: 1.579 MB / 497.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1033, allocations: 4 kB / 497.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1037, allocations: 147.2 kB / 498 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.104, allocations: 163 kB / 498.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1054, allocations: 1.054 MB / 499.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.1057, allocations: 302.5 kB / 499.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1058, allocations: 88.28 kB / 499.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.1059, allocations: 131.5 kB / 499.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1061, allocations: 143.4 kB / 499.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1061, allocations: 24 kB / 499.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.1064, allocations: 255.7 kB / 0.4884 GB, free: 4.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.1065, allocations: 63.75 kB / 0.4885 GB, free: 4.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.1066, allocations: 155.2 kB / 0.4886 GB, free: 4.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.107, allocations: 494.2 kB / 0.4891 GB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.107, allocations: 0 / 0.4891 GB, free: 3.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.107, allocations: 0 / 0.4891 GB, free: 3.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.107, allocations: 4 kB / 0.4891 GB, free: 3.809 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003924/0.111, allocations: 1.146 MB / 0.4902 GB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.111, allocations: 12.03 kB / 0.4902 GB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.1111, allocations: 67.23 kB / 0.4903 GB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.1112, allocations: 32.75 kB / 0.4903 GB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1114, allocations: 287.8 kB / 0.4906 GB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1115, allocations: 28.92 kB / 0.4906 GB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.1115, allocations: 28.38 kB / 0.4907 GB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.112, allocations: 377.1 kB / 0.491 GB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.112, allocations: 3.938 kB / 0.491 GB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1121, allocations: 12 kB / 0.491 GB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1121, allocations: 4 kB / 0.491 GB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.1125, allocations: 326.1 kB / 0.4914 GB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1141, allocations: 1.041 MB / 0.4924 GB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1151, allocations: 370.8 kB / 0.4927 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.1154, allocations: 156.8 kB / 0.4929 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.1154, allocations: 16.48 kB / 0.4929 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1155, allocations: 38.56 kB / 0.4929 GB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.1155, allocations: 0 / 0.4929 GB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00452/0.12, allocations: 1.25 MB / 0.4942 GB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.1201, allocations: 102.8 kB / 0.4942 GB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1203, allocations: 224.2 kB / 0.4945 GB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1204, allocations: 33.64 kB / 0.4945 GB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1205, allocations: 164.6 kB / 0.4947 GB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.1206, allocations: 103.1 kB / 0.4948 GB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1208, allocations: 86.05 kB / 0.4948 GB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1209, allocations: 342.8 kB / 0.4952 GB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.1213, allocations: 204.8 kB / 0.4954 GB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.1217, allocations: 248.2 kB / 0.4956 GB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.1224, allocations: 469 kB / 0.496 GB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1224, allocations: 0 / 0.496 GB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002549/0.125, allocations: 0.8408 MB / 0.4969 GB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.125, allocations: 4 kB / 0.4969 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.125, allocations: 0 / 0.4969 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.1274, allocations: 445.2 kB / 0.4973 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.1278, allocations: 67.91 kB / 0.4974 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/0.1344, allocations: 4.134 MB / 0.5014 GB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.1349, allocations: 47.91 kB / 0.5014 GB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.1349, allocations: 16 kB / 0.5015 GB, free: 6.551 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.1352, allocations: 148 kB / 0.5016 GB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.1353, allocations: 23.86 kB / 0.5016 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.1377, allocations: 0.7822 MB / 0.5024 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1377, allocations: 4 kB / 0.5024 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1377, allocations: 0 / 0.5024 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1377, allocations: 0 / 0.5024 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.1384, allocations: 441.1 kB / 0.5028 GB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.1384, allocations: 3.984 kB / 0.5028 GB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1386, allocations: 43.91 kB / 0.5028 GB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/0.1409, allocations: 445.2 kB / 0.5033 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1409, allocations: 8 kB / 0.5033 GB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006304/0.1472, allocations: 4.134 MB / 0.5073 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1472, allocations: 4.031 kB / 0.5073 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1495, allocations: 0.805 MB / 0.5081 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1496, allocations: 108.9 kB / 0.5082 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.1497, allocations: 4 kB / 0.5082 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.1499, allocations: 20 kB / 0.5082 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1501, allocations: 27.95 kB / 0.5083 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1501, allocations: 4 kB / 0.5083 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1503, allocations: 156.5 kB / 0.5084 GB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1503, allocations: 0 / 0.5084 GB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006494/0.1509, allocations: 147.8 kB / 0.5086 GB, free: 14.88 MB / 382.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003186/0.1541, allocations: 1.604 MB / 0.5101 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.1563, allocations: 0.7813 MB / 0.5109 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1563, allocations: 0 / 0.5109 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.1577, allocations: 0.5401 MB / 0.5114 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1581, allocations: 27.42 kB / 0.5114 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.166, allocations: 3.848 MB / 0.5152 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.1665, allocations: 0.7688 MB / 0.5159 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1666, allocations: 37.92 kB / 0.516 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.1668, allocations: 91.39 kB / 0.5161 GB, free: 6.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1668, allocations: 0 / 0.5161 GB, free: 6.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.2085, allocations: 9.579 MB / 0.5254 GB, free: 13.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.63, allocations: 3.938 kB / 0.5254 GB, free: 13.53 MB / 398.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork_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_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.464436755006318] Failed to read output from testmodel.py, exit status != 0: 10.717028715007473 10.741627893 10.630080546 Calling exit ...