Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.001678/0.001678, allocations: 112.7 kB / 17.17 MB, free: 5.699 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.002147/0.002147, allocations: 208.9 kB / 20.14 MB, free: 2.766 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.04585/0.04585, allocations: 6.137 MB / 315.7 MB, free: 1.152 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.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 55 kB / 439.3 MB, free: 41.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1306, allocations: 54.97 MB / 494.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.004566/0.1352, allocations: 2.413 MB / 496.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.138, allocations: 1.52 MB / 498.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1383, allocations: 8 kB / 498.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.1389, allocations: 171 kB / 498.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.1395, allocations: 174.8 kB / 498.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.1418, allocations: 0.9297 MB / 499.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.1424, allocations: 422 kB / 499.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.1427, allocations: 108.1 kB / 500 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1428, allocations: 171.4 kB / 0.4884 GB, free: 4.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1432, allocations: 227 kB / 0.4886 GB, free: 4.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.1433, allocations: 36 kB / 0.4886 GB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.1438, allocations: 195.9 kB / 0.4888 GB, free: 4.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.1438, allocations: 87.66 kB / 0.4889 GB, free: 4.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.144, allocations: 202.9 kB / 0.4891 GB, free: 3.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007286/0.1448, allocations: 0.5332 MB / 0.4896 GB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1448, allocations: 0 / 0.4896 GB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1448, allocations: 0 / 0.4896 GB, free: 3.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1448, allocations: 0 / 0.4896 GB, free: 3.414 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.006092/0.1509, allocations: 1.142 MB / 0.4907 GB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1509, allocations: 12.03 kB / 0.4908 GB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.151, allocations: 67.38 kB / 0.4908 GB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1512, allocations: 48.66 kB / 0.4909 GB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.1517, allocations: 335.5 kB / 0.4912 GB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1518, allocations: 29.03 kB / 0.4912 GB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.1519, allocations: 32.38 kB / 0.4912 GB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1529, allocations: 414.6 kB / 0.4916 GB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1529, allocations: 3.938 kB / 0.4916 GB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.1529, allocations: 16 kB / 0.4917 GB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.153, allocations: 8 kB / 0.4917 GB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009307/0.1539, allocations: 398.4 kB / 0.4921 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.1575, allocations: 1.487 MB / 0.4935 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.1594, allocations: 447.1 kB / 0.4939 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.1601, allocations: 208.8 kB / 0.4941 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.1602, allocations: 15.97 kB / 0.4941 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.1602, allocations: 34.56 kB / 0.4942 GB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 3.787e-06/0.1602, allocations: 0 / 0.4942 GB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.008671/0.1689, allocations: 1.502 MB / 0.4956 GB, free: 12.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.169, allocations: 55.41 kB / 0.4957 GB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.1696, allocations: 258.5 kB / 0.4959 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/0.1696, allocations: 37.7 kB / 0.496 GB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1698, allocations: 169 kB / 0.4961 GB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.1701, allocations: 158.6 kB / 0.4963 GB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.1704, allocations: 82.25 kB / 0.4964 GB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.1706, allocations: 346.8 kB / 0.4967 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.1713, allocations: 209.1 kB / 0.4969 GB, free: 11.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.172, allocations: 221 kB / 0.4971 GB, free: 11.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.1734, allocations: 495.4 kB / 0.4976 GB, free: 10.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1734, allocations: 0 / 0.4976 GB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002548/0.176, allocations: 0.8756 MB / 0.4984 GB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.176, allocations: 4 kB / 0.4984 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.176, allocations: 0 / 0.4984 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.178, allocations: 398 kB / 0.4988 GB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1783, allocations: 63.97 kB / 0.4989 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/0.186, allocations: 5.905 MB / 0.5047 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.1864, allocations: 39.72 kB / 0.5047 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.1864, allocations: 16 kB / 0.5047 GB, free: 3.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (41): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.1867, allocations: 158.2 kB / 0.5049 GB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.1868, allocations: 35.75 kB / 0.5049 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.1893, allocations: 0.9037 MB / 0.5058 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1893, allocations: 4 kB / 0.5058 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1893, allocations: 0 / 0.5058 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.1893, allocations: 3.984 kB / 0.5058 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.1899, allocations: 0.517 MB / 0.5063 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1899, allocations: 0 / 0.5063 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1901, allocations: 63.91 kB / 0.5063 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.192, allocations: 386.1 kB / 0.5067 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.192, allocations: 7.984 kB / 0.5067 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/0.1991, allocations: 5.871 MB / 0.5125 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1991, allocations: 0 / 0.5125 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.2016, allocations: 0.9237 MB / 0.5134 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.2017, allocations: 124.7 kB / 0.5135 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.2018, allocations: 8 kB / 0.5135 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2021, allocations: 27.97 kB / 0.5135 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.2023, allocations: 36.39 kB / 0.5135 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.2023, allocations: 16 kB / 0.5136 GB, free: 9.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.2026, allocations: 182 kB / 0.5137 GB, free: 9.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2026, allocations: 0 / 0.5137 GB, free: 9.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000699/0.2033, allocations: 163.9 kB / 0.5139 GB, free: 9.211 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003244/0.2065, allocations: 1.799 MB / 0.5156 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.2087, allocations: 0.9547 MB / 0.5166 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2087, allocations: 0 / 0.5166 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.2102, allocations: 0.7053 MB / 0.5173 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.2107, allocations: 44.48 kB / 0.5173 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.2191, allocations: 4.359 MB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.2195, allocations: 0.7974 MB / 0.5223 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.2197, allocations: 46.94 kB / 0.5224 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.2199, allocations: 115.4 kB / 0.5225 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2199, allocations: 0 / 0.5225 GB, free: 144 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/0.2786, allocations: 13.87 MB / 0.536 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.54, allocations: 14.62 kB / 0.5361 GB, free: 2.453 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_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_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.44205766900268] Failed to read output from testmodel.py, exit status != 0: 12.646673138006008 12.667397041 12.518419242 Calling exit ...