Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001406/0.001406, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.002213/0.002213, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1991/0.1991, allocations: 38.51 MB / 348.7 MB, free: 2.578 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 62.42 MB / 0.5367 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005169/0.1154, allocations: 3.466 MB / 0.54 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1178, allocations: 1.574 MB / 0.5416 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1179, allocations: 15.88 kB / 0.5416 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.1187, allocations: 262.9 kB / 0.5419 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.1193, allocations: 279 kB / 0.5421 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1196, allocations: 131.6 kB / 0.5422 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.12, allocations: 339 kB / 0.5426 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.1203, allocations: 113.7 kB / 0.5427 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.1206, allocations: 163.3 kB / 0.5428 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1208, allocations: 163.4 kB / 0.543 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1208, allocations: 12 kB / 0.543 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.1214, allocations: 343.1 kB / 0.5433 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1215, allocations: 103.8 kB / 0.5434 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1216, allocations: 107.4 kB / 0.5435 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.1221, allocations: 354.7 kB / 0.5439 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1221, allocations: 0 / 0.5439 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1221, allocations: 0 / 0.5439 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1221, allocations: 4 kB / 0.5439 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007283/0.1229, allocations: 0.5177 MB / 0.5444 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1229, allocations: 12.03 kB / 0.5444 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.123, allocations: 46.73 kB / 0.5444 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.1239, allocations: 112.7 kB / 0.5445 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1243, allocations: 268.5 kB / 0.5448 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1243, allocations: 16.36 kB / 0.5448 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.1244, allocations: 19.94 kB / 0.5448 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1249, allocations: 322.2 kB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1249, allocations: 3.938 kB / 0.5451 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.125, allocations: 19.98 kB / 0.5452 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.125, allocations: 12 kB / 0.5452 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.1255, allocations: 311.6 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1273, allocations: 1.281 MB / 0.5467 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1277, allocations: 198.3 kB / 0.5469 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.1278, allocations: 37.77 kB / 0.5469 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1278, allocations: 4 kB / 0.5469 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.1278, allocations: 30.56 kB / 0.547 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1278, allocations: 4 kB / 0.547 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003325/0.1282, allocations: 137.6 kB / 0.5471 GB, free: 12.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1282, allocations: 85.23 kB / 0.5472 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1284, allocations: 215.7 kB / 0.5474 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1285, allocations: 29.7 kB / 0.5474 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1286, allocations: 171.9 kB / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1286, allocations: 35.69 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.1287, allocations: 45.56 kB / 0.5477 GB, free: 11.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1288, allocations: 326.8 kB / 0.548 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1289, allocations: 35.97 kB / 0.548 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1291, allocations: 136.8 kB / 0.5481 GB, free: 11.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1293, allocations: 196.6 kB / 0.5483 GB, free: 11.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1293, allocations: 4 kB / 0.5483 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003409/0.1297, allocations: 217 kB / 0.5485 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1297, allocations: 4 kB / 0.5485 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1297, allocations: 4 kB / 0.5486 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1297, allocations: 8 kB / 0.5486 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1299, allocations: 51.91 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1299, allocations: 4 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.13, allocations: 20.39 kB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.13, allocations: 16.47 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.1302, allocations: 161.6 kB / 0.5488 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.1302, allocations: 23.89 kB / 0.5488 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.1305, allocations: 118.9 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1305, allocations: 4 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1305, allocations: 0 / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1305, allocations: 3.984 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.1313, allocations: 0.5682 MB / 0.5495 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1313, allocations: 4.312 kB / 0.5495 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.1314, allocations: 23.98 kB / 0.5495 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1314, allocations: 3.938 kB / 0.5495 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1314, allocations: 8 kB / 0.5495 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.1314, allocations: 7.938 kB / 0.5495 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1314, allocations: 4 kB / 0.5496 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1317, allocations: 283.8 kB / 0.5498 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.1318, allocations: 101 kB / 0.5499 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1319, allocations: 15.92 kB / 0.5499 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.132, allocations: 0 / 0.5499 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.132, allocations: 19.92 kB / 0.55 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.132, allocations: 4 kB / 0.55 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1321, allocations: 153.5 kB / 0.5501 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1321, allocations: 0 / 0.5501 GB, free: 9.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.1325, allocations: 51.89 kB / 0.5502 GB, free: 9.113 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006485/0.1332, allocations: 0.8066 MB / 0.5509 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1334, allocations: 128.2 kB / 0.5511 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1334, allocations: 0 / 0.5511 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.1335, allocations: 43.86 kB / 0.5511 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1339, allocations: 39.05 kB / 0.5511 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.1368, allocations: 2.317 MB / 0.5534 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1372, allocations: 0.7632 MB / 0.5541 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1373, allocations: 41.45 kB / 0.5542 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.1374, allocations: 59.42 kB / 0.5542 GB, free: 4.609 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1374, allocations: 0 / 0.5542 GB, free: 4.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.1644, allocations: 3.384 MB / 0.5575 GB, free: 1.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.415, allocations: 6.906 kB / 0.5576 GB, free: 1.293 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.261974122011452] Failed to read output from testmodel.py, exit status != 0: 8.482767086999957 8.498615581 8.373467763 Calling exit ...