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.001309/0.001309, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001445/0.001445, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.1956/0.1956, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002237/0.002237, allocations: 67.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3604, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005909/0.3663, allocations: 3.424 MB / 0.5453 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3686, allocations: 1.378 MB / 0.5466 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3688, allocations: 9.781 kB / 0.5466 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008625/0.3696, allocations: 251.9 kB / 0.5469 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006296/0.3703, allocations: 278.8 kB / 0.5471 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.3706, allocations: 114.9 kB / 0.5473 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.371, allocations: 333 kB / 0.5476 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3713, allocations: 119.1 kB / 0.5477 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.3716, allocations: 169 kB / 0.5478 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.3719, allocations: 153.7 kB / 0.548 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.3719, allocations: 14.78 kB / 0.548 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.3724, allocations: 260.1 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3725, allocations: 106.4 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3726, allocations: 89.78 kB / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.3731, allocations: 343.5 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3731, allocations: 0 / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3731, allocations: 0 / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3731, allocations: 0 / 0.5488 GB, free: 11.14 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.00075/0.3739, allocations: 450.8 kB / 0.5492 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3739, allocations: 13.8 kB / 0.5492 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/0.374, allocations: 53.52 kB / 0.5493 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.3748, allocations: 92.34 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.3753, allocations: 214.7 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3753, allocations: 15.47 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.3753, allocations: 19.53 kB / 0.5496 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.3759, allocations: 327 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3759, allocations: 0 / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.3759, allocations: 11.03 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.376, allocations: 16.2 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.3764, allocations: 293.7 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.3786, allocations: 1.199 MB / 0.5514 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.379, allocations: 153.4 kB / 0.5515 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3791, allocations: 59.44 kB / 0.5516 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3791, allocations: 2.938 kB / 0.5516 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.3792, allocations: 40 kB / 0.5516 GB, free: 8.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3792, allocations: 0 / 0.5516 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008521/0.38, allocations: 291.4 kB / 0.5519 GB, free: 8.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.3801, allocations: 83.3 kB / 0.552 GB, free: 8.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3805, allocations: 203.8 kB / 0.5522 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3805, allocations: 30.98 kB / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.3808, allocations: 160.6 kB / 0.5524 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.3808, allocations: 50.06 kB / 0.5524 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3809, allocations: 41.8 kB / 0.5524 GB, free: 8.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.3812, allocations: 326.9 kB / 0.5528 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3813, allocations: 46.03 kB / 0.5528 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3816, allocations: 147.5 kB / 0.5529 GB, free: 7.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.382, allocations: 220.7 kB / 0.5531 GB, free: 7.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.382, allocations: 1.156 kB / 0.5531 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004646/0.3824, allocations: 234.6 kB / 0.5534 GB, free: 7.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.3825, allocations: 6.25 kB / 0.5534 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3825, allocations: 3.375 kB / 0.5534 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.3825, allocations: 4.625 kB / 0.5534 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3827, allocations: 42.98 kB / 0.5534 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.3827, allocations: 8.766 kB / 0.5534 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3828, allocations: 9 kB / 0.5534 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.3829, allocations: 13.16 kB / 0.5535 GB, free: 7.297 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.000208/0.3831, allocations: 161.4 kB / 0.5536 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3831, allocations: 15.59 kB / 0.5536 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.3835, allocations: 159.1 kB / 0.5538 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3835, allocations: 2.062 kB / 0.5538 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3835, allocations: 5 kB / 0.5538 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3835, allocations: 3.984 kB / 0.5538 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3846, allocations: 0.6195 MB / 0.5544 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.3846, allocations: 3.375 kB / 0.5544 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3847, allocations: 33.67 kB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.3848, allocations: 3.375 kB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3848, allocations: 9.719 kB / 0.5544 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3848, allocations: 4.656 kB / 0.5544 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.3848, allocations: 3.25 kB / 0.5544 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.3853, allocations: 342.3 kB / 0.5548 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3853, allocations: 32.88 kB / 0.5548 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3853, allocations: 9.656 kB / 0.5548 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3855, allocations: 7.359 kB / 0.5548 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3855, allocations: 20.83 kB / 0.5548 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3855, allocations: 7.938 kB / 0.5548 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3857, allocations: 140.6 kB / 0.555 GB, free: 6.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3857, allocations: 0 / 0.555 GB, free: 6.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3861, allocations: 47.94 kB / 0.555 GB, free: 6 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.0008166/0.3869, allocations: 0.8652 MB / 0.5559 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3872, allocations: 146.4 kB / 0.556 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3872, allocations: 0 / 0.556 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3873, allocations: 66.84 kB / 0.5561 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.3878, allocations: 43.33 kB / 0.5561 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.391, allocations: 2.427 MB / 0.5585 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3912, allocations: 147.8 kB / 0.5586 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.3913, allocations: 49.62 kB / 0.5587 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3914, allocations: 55.42 kB / 0.5587 GB, free: 2.176 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3914, allocations: 0 / 0.5587 GB, free: 2.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.4233, allocations: 4.043 MB / 0.5627 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 7.984 kB / 0.5627 GB, free: 14.27 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.55588475894183] Failed to read output from testmodel.py, exit status != 0: 11.701171103864908 11.71754548 11.341082461 Calling exit ...