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.001383/0.001383, allocations: 95.55 kB / 20.77 MB, free: 3.742 MB / 18.57 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.001089/0.001089, allocations: 162 kB / 24.06 MB, free: 468 kB / 18.57 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 0.9458/0.9458, allocations: 177.1 MB / 204.4 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2348/0.2348, allocations: 29.41 MB / 290.2 MB, free: 2.465 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 430.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.388e-05, allocations: 2.281 kB / 430.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003783/0.003807, allocations: 3.417 MB / 433.8 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.005318, allocations: 1.379 MB / 435.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.005471, allocations: 11.94 kB / 435.2 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.006105, allocations: 254.9 kB / 435.5 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.006678, allocations: 282.5 kB / 435.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.006943, allocations: 111.5 kB / 435.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.007314, allocations: 346.9 kB / 436.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.007575, allocations: 114.1 kB / 436.3 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.007936, allocations: 211.4 kB / 436.5 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.008182, allocations: 147.5 kB / 436.7 MB, free: 7.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.008207, allocations: 16 kB / 436.7 MB, free: 7.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.008622, allocations: 263.1 kB / 436.9 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.008756, allocations: 111.7 kB / 437 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.008839, allocations: 67.84 kB / 437.1 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.009339, allocations: 362.9 kB / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.009343, allocations: 0 / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.009345, allocations: 0 / 437.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.00935, allocations: 4 kB / 437.5 MB, free: 6.438 MB / 410.7 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.0006162/0.009967, allocations: 445 kB / 437.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.01001, allocations: 19.92 kB / 437.9 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.01006, allocations: 54.73 kB / 438 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.01063, allocations: 92.67 kB / 438.1 MB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.01092, allocations: 210 kB / 438.3 MB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.01093, allocations: 16.38 kB / 438.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.01097, allocations: 24.36 kB / 438.3 MB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.01135, allocations: 315.1 kB / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01136, allocations: 0 / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.01138, allocations: 4 kB / 438.6 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.01141, allocations: 27.97 kB / 438.7 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.01169, allocations: 275.8 kB / 438.9 MB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01283, allocations: 1.228 MB / 440.1 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.01311, allocations: 149.2 kB / 440.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.01317, allocations: 45.77 kB / 440.3 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.01319, allocations: 7.938 kB / 440.3 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.01322, allocations: 34.56 kB / 440.4 MB, free: 3.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.01322, allocations: 0 / 440.4 MB, free: 3.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004839/0.0137, allocations: 291.9 kB / 440.7 MB, free: 3.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.01374, allocations: 81.11 kB / 440.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01388, allocations: 202.3 kB / 440.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.01389, allocations: 29.7 kB / 441 MB, free: 2.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.01397, allocations: 168 kB / 441.1 MB, free: 2.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.014, allocations: 47.58 kB / 441.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.01405, allocations: 45.7 kB / 441.2 MB, free: 2.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.01414, allocations: 326.8 kB / 441.5 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.01419, allocations: 47.97 kB / 441.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.01429, allocations: 144.8 kB / 441.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.01447, allocations: 217.2 kB / 441.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01447, allocations: 0 / 441.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002369/0.0147, allocations: 233.1 kB / 442.2 MB, free: 1.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01472, allocations: 11.94 kB / 442.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.01473, allocations: 4 kB / 442.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.01474, allocations: 4 kB / 442.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01485, allocations: 48.34 kB / 442.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/0.01485, allocations: 11.94 kB / 442.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.01492, allocations: 8 kB / 442.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01493, allocations: 8 kB / 442.3 MB, free: 1.266 MB / 410.7 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.0001043/0.01503, allocations: 157.8 kB / 442.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01506, allocations: 19.84 kB / 442.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.01525, allocations: 147.2 kB / 442.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.01526, allocations: 11.98 kB / 442.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01527, allocations: 0 / 442.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01527, allocations: 0 / 442.6 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.01584, allocations: 0.6368 MB / 443.2 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.01584, allocations: 4 kB / 443.2 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.0159, allocations: 27.92 kB / 443.3 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.0159, allocations: 4 kB / 443.3 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01591, allocations: 4.438 kB / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.01592, allocations: 15.88 kB / 443.3 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01592, allocations: 4 kB / 443.3 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1712/0.1871, allocations: 323.9 kB / 443.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1872, allocations: 21.7 kB / 443.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1872, allocations: 11.92 kB / 443.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1873, allocations: 5.625 kB / 443.6 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.1873, allocations: 22.41 kB / 443.7 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1873, allocations: 11.22 kB / 443.7 MB, free: 53.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.1874, allocations: 139.6 kB / 443.8 MB, free: 53.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1874, allocations: 0 / 443.8 MB, free: 53.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.1877, allocations: 47.91 kB / 443.9 MB, free: 53.82 MB / 410.7 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.0002962/0.188, allocations: 0.8672 MB / 444.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1882, allocations: 139.7 kB / 444.9 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1882, allocations: 0 / 444.9 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.1882, allocations: 64.56 kB / 444.9 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1886, allocations: 34.31 kB / 445 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.19, allocations: 2.384 MB / 447.3 MB, free: 51.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.1901, allocations: 149.9 kB / 447.5 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.369e-05/0.1902, allocations: 47.08 kB / 447.5 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1903, allocations: 61.23 kB / 447.6 MB, free: 51.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1903, allocations: 0 / 447.6 MB, free: 51.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2062, allocations: 4.189 MB / 451.8 MB, free: 50.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.256, allocations: 7.047 kB / 451.8 MB, free: 50.17 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.24873214866966] Failed to read output from testmodel.py, exit status != 0: 7.335046390071511 7.342208926 7.331371883 Calling exit ...