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.001818/0.001818, 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.002197/0.002197, allocations: 219.9 kB / 23.03 MB, free: 4.625 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.03827/0.03827, allocations: 6.14 MB / 319.4 MB, free: 12.75 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.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.002174/0.002174, allocations: 55.92 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1108, allocations: 55.02 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003223/0.114, allocations: 1.864 MB / 0.4896 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1162, allocations: 1.509 MB / 0.491 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1163, allocations: 7.938 kB / 0.491 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1167, allocations: 135.3 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.1171, allocations: 159 kB / 0.4913 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.119, allocations: 0.9786 MB / 0.4923 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.1195, allocations: 306.5 kB / 0.4926 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1197, allocations: 72.69 kB / 0.4926 GB, free: 8.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1198, allocations: 135.4 kB / 0.4928 GB, free: 8.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.12, allocations: 131.3 kB / 0.4929 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.12, allocations: 32 kB / 0.4929 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.1205, allocations: 231.8 kB / 0.4932 GB, free: 8.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1206, allocations: 67.7 kB / 0.4932 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1207, allocations: 123.4 kB / 0.4933 GB, free: 8.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.1214, allocations: 498.2 kB / 0.4938 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1214, allocations: 0 / 0.4938 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1214, allocations: 0 / 0.4938 GB, free: 7.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1214, allocations: 3.938 kB / 0.4938 GB, free: 7.723 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004233/0.1256, allocations: 1.078 MB / 0.4949 GB, free: 6.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1257, allocations: 12.03 kB / 0.4949 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1258, allocations: 59.22 kB / 0.4949 GB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.1259, allocations: 40.7 kB / 0.495 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1263, allocations: 226 kB / 0.4952 GB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.1263, allocations: 20.88 kB / 0.4952 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.1264, allocations: 28.38 kB / 0.4952 GB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.1272, allocations: 0.5084 MB / 0.4957 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1272, allocations: 7.938 kB / 0.4957 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.1272, allocations: 8 kB / 0.4957 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1272, allocations: 4 kB / 0.4958 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1278, allocations: 325.9 kB / 0.4961 GB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1298, allocations: 0.8959 MB / 0.4969 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1308, allocations: 374.6 kB / 0.4973 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1311, allocations: 168.8 kB / 0.4975 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.1312, allocations: 8.5 kB / 0.4975 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1312, allocations: 34.56 kB / 0.4975 GB, free: 3.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.1312, allocations: 0 / 0.4975 GB, free: 3.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004271/0.1355, allocations: 1.092 MB / 0.4986 GB, free: 2.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.1356, allocations: 114.8 kB / 0.4987 GB, free: 2.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1358, allocations: 228 kB / 0.4989 GB, free: 2.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1359, allocations: 29.7 kB / 0.4989 GB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.136, allocations: 160.7 kB / 0.4991 GB, free: 2.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.1361, allocations: 103.1 kB / 0.4992 GB, free: 1.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1363, allocations: 86.11 kB / 0.4993 GB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1364, allocations: 342.8 kB / 0.4996 GB, free: 1.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.1368, allocations: 208.7 kB / 0.4998 GB, free: 1.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.1372, allocations: 307.6 kB / 0.5001 GB, free: 1.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.1379, allocations: 469.1 kB / 0.5005 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1379, allocations: 7.969 kB / 0.5005 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002494/0.1404, allocations: 0.8447 MB / 0.5014 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.1405, allocations: 8 kB / 0.5014 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1405, allocations: 0 / 0.5014 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.1427, allocations: 441.2 kB / 0.5018 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.1431, allocations: 63.91 kB / 0.5018 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.1494, allocations: 3.884 MB / 0.5056 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.1498, allocations: 47.69 kB / 0.5057 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.1499, allocations: 16.16 kB / 0.5057 GB, free: 11.02 MB / 382.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.0002585/0.1501, allocations: 153.7 kB / 0.5058 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.1502, allocations: 23.86 kB / 0.5059 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.1526, allocations: 0.7791 MB / 0.5066 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1526, allocations: 7.938 kB / 0.5066 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1526, allocations: 4 kB / 0.5066 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1526, allocations: 0 / 0.5066 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.1532, allocations: 340.4 kB / 0.507 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1532, allocations: 7.938 kB / 0.507 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1534, allocations: 39.98 kB / 0.507 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.1555, allocations: 441.4 kB / 0.5074 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.1556, allocations: 8 kB / 0.5074 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.1613, allocations: 3.876 MB / 0.5112 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1613, allocations: 4.031 kB / 0.5112 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.1634, allocations: 0.8087 MB / 0.512 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1635, allocations: 23.8 kB / 0.512 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.1635, allocations: 12.09 kB / 0.512 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.1638, allocations: 19.98 kB / 0.5121 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.1639, allocations: 27.94 kB / 0.5121 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.1639, allocations: 11.94 kB / 0.5121 GB, free: 4.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1641, allocations: 160.5 kB / 0.5123 GB, free: 3.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1641, allocations: 0 / 0.5123 GB, free: 3.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.1646, allocations: 135.9 kB / 0.5124 GB, free: 3.84 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.003009/0.1676, allocations: 1.625 MB / 0.514 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.1696, allocations: 0.7692 MB / 0.5147 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1696, allocations: 0 / 0.5147 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.171, allocations: 0.5479 MB / 0.5153 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1713, allocations: 27.42 kB / 0.5153 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1904/0.3617, allocations: 3.832 MB / 0.519 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3619, allocations: 159.7 kB / 0.5192 GB, free: 28.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.362, allocations: 39.31 kB / 0.5192 GB, free: 28.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3622, allocations: 90.45 kB / 0.5193 GB, free: 28.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3622, allocations: 0 / 0.5193 GB, free: 28.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/0.409, allocations: 10.54 MB / 0.5296 GB, free: 26.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.24, allocations: 10.92 kB / 0.5296 GB, free: 26.28 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.992800322826952] Failed to read output from testmodel.py, exit status != 0: 12.357486662920564 12.379661726 12.254280727 Calling exit ...