Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001772/0.001772, allocations: 114 kB / 19.74 MB, free: 1.996 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.002198/0.002198, allocations: 223.1 kB / 23.05 MB, free: 4.988 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8 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.03816/0.03816, allocations: 6.135 MB / 319.4 MB, free: 12.97 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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 43.92 kB / 444.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 55.03 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.005307/0.1147, allocations: 3.647 MB / 0.4914 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.118, allocations: 1.874 MB / 0.4932 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.1182, allocations: 8 kB / 0.4932 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.1188, allocations: 214.7 kB / 0.4934 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.1195, allocations: 325.8 kB / 0.4937 GB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.122, allocations: 1.301 MB / 0.495 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.123, allocations: 0.6959 MB / 0.4957 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1233, allocations: 166.1 kB / 0.4958 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.1236, allocations: 294.9 kB / 0.4961 GB, free: 5.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.1241, allocations: 366.4 kB / 0.4965 GB, free: 5.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.1242, allocations: 60 kB / 0.4965 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.1248, allocations: 299.8 kB / 0.4968 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1249, allocations: 151.4 kB / 0.497 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.1253, allocations: 338.3 kB / 0.4973 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1264, allocations: 0.8755 MB / 0.4981 GB, free: 3.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1264, allocations: 0 / 0.4981 GB, free: 3.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1264, allocations: 0 / 0.4981 GB, free: 3.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1264, allocations: 3.984 kB / 0.4981 GB, free: 3.664 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007568/0.134, allocations: 1.858 MB / 0.5 GB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.134, allocations: 8.031 kB / 0.5 GB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.1341, allocations: 90.7 kB / 0.5001 GB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1343, allocations: 80.47 kB / 0.5001 GB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.135, allocations: 380.4 kB / 0.5005 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.135, allocations: 45.38 kB / 0.5005 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.1351, allocations: 52.38 kB / 0.5006 GB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1365, allocations: 0.7805 MB / 0.5014 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1365, allocations: 3.938 kB / 0.5014 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.1365, allocations: 24 kB / 0.5014 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1366, allocations: 12 kB / 0.5014 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.1378, allocations: 0.7029 MB / 0.5021 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.1419, allocations: 2.305 MB / 0.5043 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.1433, allocations: 0.7732 MB / 0.5051 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.144, allocations: 410.7 kB / 0.5055 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.1441, allocations: 16.62 kB / 0.5055 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1441, allocations: 47.22 kB / 0.5055 GB, free: 11.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.514e-06/0.1441, allocations: 4 kB / 0.5055 GB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01397/0.1581, allocations: 3.343 MB / 0.5088 GB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.1582, allocations: 111.5 kB / 0.5089 GB, free: 8.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.1587, allocations: 381.5 kB / 0.5093 GB, free: 8.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.726e-05/0.1588, allocations: 45.7 kB / 0.5093 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.159, allocations: 225.5 kB / 0.5095 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.1592, allocations: 261.7 kB / 0.5098 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.1595, allocations: 154.6 kB / 0.5099 GB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1597, allocations: 362.7 kB / 0.5103 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.1604, allocations: 449.9 kB / 0.5107 GB, free: 6.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.1612, allocations: 0.5131 MB / 0.5112 GB, free: 5.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.1629, allocations: 0.9979 MB / 0.5122 GB, free: 4.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1629, allocations: 0 / 0.5122 GB, free: 4.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005692/0.1686, allocations: 1.957 MB / 0.5141 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1686, allocations: 4 kB / 0.5141 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1686, allocations: 0 / 0.5141 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/0.1746, allocations: 1.445 MB / 0.5155 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.1751, allocations: 127.8 kB / 0.5156 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2177/0.3928, allocations: 5.861 MB / 0.5214 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.3935, allocations: 81.2 kB / 0.5214 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.3935, allocations: 27.67 kB / 0.5215 GB, free: 28.03 MB / 382.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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.3938, allocations: 190.7 kB / 0.5216 GB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3939, allocations: 59.41 kB / 0.5217 GB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005551/0.3994, allocations: 1.885 MB / 0.5235 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3994, allocations: 9 kB / 0.5235 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3994, allocations: 3.438 kB / 0.5235 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.3995, allocations: 8.438 kB / 0.5236 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.4056, allocations: 2.705 MB / 0.5262 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4056, allocations: 0 / 0.5262 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.4059, allocations: 92.66 kB / 0.5263 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005425/0.4113, allocations: 1.286 MB / 0.5275 GB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.4114, allocations: 20.55 kB / 0.5276 GB, free: 26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.4222, allocations: 5.773 MB / 0.5332 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4222, allocations: 0 / 0.5332 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.4278, allocations: 1.868 MB / 0.535 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4279, allocations: 67.61 kB / 0.5351 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.428, allocations: 13.41 kB / 0.5351 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.4286, allocations: 53.3 kB / 0.5352 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.4288, allocations: 65.06 kB / 0.5352 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.4289, allocations: 21.42 kB / 0.5352 GB, free: 21.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.4292, allocations: 261.5 kB / 0.5355 GB, free: 21.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4292, allocations: 0 / 0.5355 GB, free: 21.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000992/0.4302, allocations: 289.3 kB / 0.5358 GB, free: 21.48 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 (55): * Single equations (assignments): 54 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005199/0.4354, allocations: 2.439 MB / 0.5381 GB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.439, allocations: 1.556 MB / 0.5397 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.439, allocations: 5.047 kB / 0.5397 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.4418, allocations: 1.037 MB / 0.5407 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.4424, allocations: 68.86 kB / 0.5407 GB, free: 19.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.4571, allocations: 7.666 MB / 0.5482 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4574, allocations: 0.8909 MB / 0.5491 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.4576, allocations: 86.03 kB / 0.5492 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.4579, allocations: 209.9 kB / 0.5494 GB, free: 14.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4579, allocations: 0 / 0.5494 GB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/0.515, allocations: 24.07 MB / 0.5729 GB, free: 7.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.18, allocations: 9.609 kB / 0.5729 GB, free: 7.289 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses_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_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.94421690699528] Failed to read output from testmodel.py, exit status != 0: 14.307505872995534 14.337921622 14.206307143 Calling exit ...