Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.00131/0.00131, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001554/0.001554, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1852/0.1852, allocations: 38.54 MB / 352.5 MB, free: 12.53 MB / 286.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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.002067/0.002067, allocations: 59.91 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 62.47 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005452/0.3228, allocations: 3.566 MB / 0.5455 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.3251, allocations: 1.512 MB / 0.5469 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3252, allocations: 13.03 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.3261, allocations: 263 kB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006794/0.3268, allocations: 282.1 kB / 0.5475 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3271, allocations: 106.4 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.3276, allocations: 337.9 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.328, allocations: 122.7 kB / 0.548 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.3283, allocations: 164.8 kB / 0.5482 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.3286, allocations: 162.3 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.3287, allocations: 13.59 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.3293, allocations: 326 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3294, allocations: 98.09 kB / 0.5488 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3296, allocations: 108.7 kB / 0.5489 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.3301, allocations: 340.9 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3301, allocations: 0 / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3301, allocations: 5.031 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3301, allocations: 0 / 0.5492 GB, free: 10.98 MB / 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.0008156/0.3309, allocations: 452.9 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.331, allocations: 12.73 kB / 0.5496 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/0.3311, allocations: 51.11 kB / 0.5497 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.332, allocations: 94.81 kB / 0.5498 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.3323, allocations: 214.7 kB / 0.55 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3323, allocations: 11.12 kB / 0.55 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.3324, allocations: 28.42 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.3329, allocations: 319.2 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3329, allocations: 9.406 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.3329, allocations: 5.5 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.333, allocations: 21.48 kB / 0.5504 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.3334, allocations: 287.4 kB / 0.5506 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.3352, allocations: 1.243 MB / 0.5518 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3356, allocations: 153.9 kB / 0.552 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.3357, allocations: 58.81 kB / 0.552 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3357, allocations: 1.969 kB / 0.552 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3358, allocations: 36 kB / 0.5521 GB, free: 8.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3358, allocations: 0 / 0.5521 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006419/0.3364, allocations: 295 kB / 0.5524 GB, free: 8.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.3365, allocations: 83.7 kB / 0.5524 GB, free: 8.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3367, allocations: 191 kB / 0.5526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3367, allocations: 30.88 kB / 0.5526 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3368, allocations: 168.3 kB / 0.5528 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3369, allocations: 50.27 kB / 0.5529 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.3369, allocations: 44.84 kB / 0.5529 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3371, allocations: 328.3 kB / 0.5532 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.3372, allocations: 45.81 kB / 0.5533 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3374, allocations: 148.1 kB / 0.5534 GB, free: 7.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3376, allocations: 217.1 kB / 0.5536 GB, free: 7.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3376, allocations: 1.188 kB / 0.5536 GB, free: 7.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003496/0.338, allocations: 230 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.338, allocations: 6.625 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.338, allocations: 3.25 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.338, allocations: 4.438 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3382, allocations: 42.98 kB / 0.5539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3382, allocations: 9.547 kB / 0.5539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3383, allocations: 8.469 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3383, allocations: 20.78 kB / 0.5539 GB, free: 7.078 MB / 398.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 (25): * Single equations (assignments): 25 * 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.0001602/0.3385, allocations: 162.3 kB / 0.5541 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3385, allocations: 20.16 kB / 0.5541 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3388, allocations: 145 kB / 0.5542 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3388, allocations: 2.25 kB / 0.5542 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3388, allocations: 1.344 kB / 0.5542 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3388, allocations: 3.984 kB / 0.5542 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.3397, allocations: 0.6405 MB / 0.5549 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3397, allocations: 4.438 kB / 0.5549 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3398, allocations: 32.95 kB / 0.5549 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3398, allocations: 4.125 kB / 0.5549 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3398, allocations: 9.219 kB / 0.5549 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3398, allocations: 4.094 kB / 0.5549 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.3399, allocations: 12.48 kB / 0.5549 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.3402, allocations: 336.6 kB / 0.5552 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.3403, allocations: 24.31 kB / 0.5553 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3403, allocations: 13.58 kB / 0.5553 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3404, allocations: 7.531 kB / 0.5553 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3405, allocations: 27.14 kB / 0.5553 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3405, allocations: 8.219 kB / 0.5553 GB, free: 5.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3406, allocations: 139.9 kB / 0.5555 GB, free: 5.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3406, allocations: 0 / 0.5555 GB, free: 5.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.341, allocations: 43.47 kB / 0.5555 GB, free: 5.762 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0006624/0.3416, allocations: 0.8747 MB / 0.5564 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3419, allocations: 143.7 kB / 0.5565 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3419, allocations: 0 / 0.5565 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.342, allocations: 58.53 kB / 0.5565 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3424, allocations: 45.61 kB / 0.5566 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3452, allocations: 2.426 MB / 0.559 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3456, allocations: 0.7593 MB / 0.5597 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3457, allocations: 49.53 kB / 0.5597 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.3458, allocations: 51.42 kB / 0.5598 GB, free: 1.387 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3458, allocations: 0 / 0.5598 GB, free: 1.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.3768, allocations: 3.761 MB / 0.5635 GB, free: 13.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 4.062 kB / 0.5635 GB, free: 13.74 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest_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_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.392629191002925] Failed to read output from testmodel.py, exit status != 0: 11.635932069999399 11.665859446 11.330533319 Calling exit ...