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.001389/0.001389, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001687/0.001687, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1901/0.1901, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.002035/0.002035, allocations: 63.91 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3795, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006243/0.3858, allocations: 3.578 MB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.3883, allocations: 1.503 MB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3885, allocations: 9.969 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.3895, allocations: 274.3 kB / 0.5472 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.3902, allocations: 282.1 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.3906, allocations: 110.7 kB / 0.5476 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.3911, allocations: 334.8 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.3915, allocations: 121.9 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.3918, allocations: 168.4 kB / 0.5482 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.3922, allocations: 158.5 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3922, allocations: 14.75 kB / 0.5484 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.3929, allocations: 324.8 kB / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3931, allocations: 102.3 kB / 0.5488 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3933, allocations: 104.8 kB / 0.5489 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.3939, allocations: 341.5 kB / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3939, allocations: 0 / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3939, allocations: 0 / 0.5492 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3939, allocations: 4 kB / 0.5492 GB, free: 10.95 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.001007/0.3949, allocations: 453.3 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/0.395, allocations: 13.72 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.24e-05/0.3951, allocations: 53.36 kB / 0.5497 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009694/0.3961, allocations: 91.81 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.3965, allocations: 210.1 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3965, allocations: 10.66 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.3966, allocations: 32.19 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.3971, allocations: 316.8 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3972, allocations: 3.938 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3972, allocations: 6.656 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.3972, allocations: 19.91 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.3977, allocations: 292.3 kB / 0.5506 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.3996, allocations: 1.246 MB / 0.5518 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.4, allocations: 149.7 kB / 0.552 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.4001, allocations: 60.08 kB / 0.552 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4002, allocations: 1.094 kB / 0.552 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4002, allocations: 36.77 kB / 0.5521 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4002, allocations: 0 / 0.5521 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006922/0.4009, allocations: 295.1 kB / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.401, allocations: 79.3 kB / 0.5524 GB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.4012, allocations: 198.7 kB / 0.5526 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4012, allocations: 26.89 kB / 0.5527 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4014, allocations: 172.6 kB / 0.5528 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.4014, allocations: 50.23 kB / 0.5529 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.4015, allocations: 44.97 kB / 0.5529 GB, free: 7.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4017, allocations: 328 kB / 0.5532 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.4018, allocations: 45.91 kB / 0.5533 GB, free: 7.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.402, allocations: 143.5 kB / 0.5534 GB, free: 7.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.4023, allocations: 217.3 kB / 0.5536 GB, free: 7.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4023, allocations: 1.469 kB / 0.5536 GB, free: 7.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003704/0.4026, allocations: 233 kB / 0.5538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4027, allocations: 6.906 kB / 0.5538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4027, allocations: 3.5 kB / 0.5538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4027, allocations: 4.969 kB / 0.5539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4029, allocations: 42.95 kB / 0.5539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4029, allocations: 4.281 kB / 0.5539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.403, allocations: 9.281 kB / 0.5539 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.403, allocations: 16.58 kB / 0.5539 GB, free: 7.062 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.0001644/0.4032, allocations: 162.4 kB / 0.5541 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4032, allocations: 15.59 kB / 0.5541 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.4035, allocations: 153.9 kB / 0.5542 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4035, allocations: 2.25 kB / 0.5542 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4035, allocations: 9.344 kB / 0.5542 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4035, allocations: 0 / 0.5542 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.4044, allocations: 0.6372 MB / 0.5549 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4045, allocations: 3.375 kB / 0.5549 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4046, allocations: 33.89 kB / 0.5549 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4046, allocations: 3.344 kB / 0.5549 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4046, allocations: 9.953 kB / 0.5549 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4046, allocations: 3.531 kB / 0.5549 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4046, allocations: 8.656 kB / 0.5549 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.405, allocations: 335.6 kB / 0.5552 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.405, allocations: 28.7 kB / 0.5553 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4051, allocations: 9.547 kB / 0.5553 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.4052, allocations: 12.33 kB / 0.5553 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4052, allocations: 26.36 kB / 0.5553 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.4053, allocations: 7.719 kB / 0.5553 GB, free: 5.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.4054, allocations: 141.8 kB / 0.5555 GB, free: 5.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 0.5555 GB, free: 5.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.4057, allocations: 42.66 kB / 0.5555 GB, free: 5.742 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.0007408/0.4065, allocations: 0.8693 MB / 0.5564 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.4068, allocations: 147.3 kB / 0.5565 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4068, allocations: 1 kB / 0.5565 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.4069, allocations: 54.55 kB / 0.5565 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4073, allocations: 45.27 kB / 0.5566 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.4103, allocations: 2.427 MB / 0.559 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.4107, allocations: 0.7671 MB / 0.5597 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.4108, allocations: 41.61 kB / 0.5598 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4109, allocations: 55.41 kB / 0.5598 GB, free: 1.387 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4109, allocations: 0 / 0.5598 GB, free: 1.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.4413, allocations: 3.754 MB / 0.5635 GB, free: 13.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.48, allocations: 7.938 kB / 0.5635 GB, free: 13.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.452798841986805] Failed to read output from testmodel.py, exit status != 0: 11.598156286869198 11.622537269 11.224124249 Calling exit ...