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.001291/0.001291, allocations: 114.4 kB / 19.74 MB, free: 2.164 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.001427/0.001427, allocations: 221.1 kB / 23.05 MB, free: 5.004 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06179/0.06179, allocations: 6.128 MB / 319.4 MB, free: 12.96 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.001511/0.001511, allocations: 51.92 kB / 444.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 55.02 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003382/0.1085, allocations: 2.075 MB / 0.4899 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1108, allocations: 1.582 MB / 0.4914 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1109, allocations: 7.938 kB / 0.4914 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.1113, allocations: 139.2 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1117, allocations: 163 kB / 0.4917 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.1137, allocations: 1.054 MB / 0.4927 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.1141, allocations: 306.5 kB / 0.493 GB, free: 8.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1143, allocations: 80.69 kB / 0.4931 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1144, allocations: 131.6 kB / 0.4932 GB, free: 8.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1146, allocations: 151.2 kB / 0.4934 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.1147, allocations: 24 kB / 0.4934 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.1152, allocations: 255.8 kB / 0.4936 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.1152, allocations: 59.77 kB / 0.4937 GB, free: 8.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1154, allocations: 147.3 kB / 0.4938 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.1161, allocations: 0.4943 MB / 0.4943 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1161, allocations: 3.938 kB / 0.4943 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1161, allocations: 0 / 0.4943 GB, free: 7.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1161, allocations: 4 kB / 0.4943 GB, free: 7.566 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.004121/0.1202, allocations: 1.074 MB / 0.4954 GB, free: 6.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1203, allocations: 8.031 kB / 0.4954 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.1204, allocations: 67.22 kB / 0.4954 GB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.1204, allocations: 36.7 kB / 0.4955 GB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1208, allocations: 230 kB / 0.4957 GB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1208, allocations: 24.81 kB / 0.4957 GB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.1209, allocations: 28.38 kB / 0.4957 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.1215, allocations: 384.1 kB / 0.4961 GB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1215, allocations: 3.938 kB / 0.4961 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.1215, allocations: 12 kB / 0.4961 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1215, allocations: 4 kB / 0.4961 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.1221, allocations: 333.8 kB / 0.4964 GB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.1241, allocations: 1.013 MB / 0.4974 GB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1252, allocations: 374.6 kB / 0.4978 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.1254, allocations: 160.8 kB / 0.4979 GB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.1255, allocations: 12.5 kB / 0.498 GB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1255, allocations: 34.56 kB / 0.498 GB, free: 3.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.1255, allocations: 0 / 0.498 GB, free: 3.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004495/0.13, allocations: 1.096 MB / 0.4991 GB, free: 2.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.1301, allocations: 110.8 kB / 0.4992 GB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1304, allocations: 224 kB / 0.4994 GB, free: 2.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.1305, allocations: 33.7 kB / 0.4994 GB, free: 2.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1306, allocations: 156.7 kB / 0.4996 GB, free: 1.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.1307, allocations: 115 kB / 0.4997 GB, free: 1.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.1309, allocations: 86.11 kB / 0.4998 GB, free: 1.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1311, allocations: 338.8 kB / 0.5001 GB, free: 1.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.1315, allocations: 208.8 kB / 0.5003 GB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.1318, allocations: 252.2 kB / 0.5005 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/0.1326, allocations: 473.1 kB / 0.501 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1326, allocations: 0 / 0.501 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002466/0.1351, allocations: 0.8447 MB / 0.5018 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1351, allocations: 4 kB / 0.5018 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1351, allocations: 0 / 0.5018 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.1374, allocations: 445.2 kB / 0.5022 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.1377, allocations: 71.89 kB / 0.5023 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.1437, allocations: 3.93 MB / 0.5061 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.1441, allocations: 51.86 kB / 0.5062 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.1442, allocations: 15.98 kB / 0.5062 GB, free: 10.91 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.0002208/0.1444, allocations: 145.7 kB / 0.5063 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.1445, allocations: 23.86 kB / 0.5064 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.1468, allocations: 0.7831 MB / 0.5071 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1468, allocations: 4 kB / 0.5071 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1468, allocations: 7.875 kB / 0.5071 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1468, allocations: 3.984 kB / 0.5071 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.1473, allocations: 416.2 kB / 0.5075 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1473, allocations: 0 / 0.5075 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1475, allocations: 39.98 kB / 0.5076 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.1496, allocations: 441.2 kB / 0.508 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.1496, allocations: 11.92 kB / 0.508 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/0.1552, allocations: 3.927 MB / 0.5118 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1552, allocations: 32 / 0.5118 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.1575, allocations: 0.8125 MB / 0.5126 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1575, allocations: 39.72 kB / 0.5127 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.1576, allocations: 4 kB / 0.5127 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1579, allocations: 19.98 kB / 0.5127 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.1579, allocations: 23.95 kB / 0.5127 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.158, allocations: 12 kB / 0.5127 GB, free: 3.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.1581, allocations: 156.5 kB / 0.5129 GB, free: 3.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1581, allocations: 0 / 0.5129 GB, free: 3.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.1587, allocations: 131.9 kB / 0.513 GB, free: 3.613 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.00304/0.1617, allocations: 1.625 MB / 0.5146 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.1637, allocations: 0.777 MB / 0.5153 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1637, allocations: 3.938 kB / 0.5153 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.1651, allocations: 0.5363 MB / 0.5159 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1654, allocations: 20.67 kB / 0.5159 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2097/0.3751, allocations: 3.851 MB / 0.5197 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3753, allocations: 0.7713 MB / 0.5204 GB, free: 28.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.3755, allocations: 32.16 kB / 0.5204 GB, free: 28.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3756, allocations: 93.03 kB / 0.5205 GB, free: 28.17 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3756, allocations: 1.469 kB / 0.5205 GB, free: 28.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.4221, allocations: 9.841 MB / 0.5301 GB, free: 26.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 2.812 kB / 0.5301 GB, free: 26.7 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.981006540001545] Failed to read output from testmodel.py, exit status != 0: 12.137493206006184 12.15639642 12.038077874 Calling exit ...