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.001163/0.001163, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009251/0.0009251, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 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.872/0.872, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.229/0.229, allocations: 29.4 MB / 290.1 MB, free: 2.461 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 1.714e-06/1.714e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.677e-05, allocations: 4.109 kB / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003499/0.003516, allocations: 3.407 MB / 433.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004867, allocations: 1.383 MB / 435 MB, free: 8.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.004979, allocations: 7.938 kB / 435 MB, free: 8.809 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.005534, allocations: 247 kB / 435.2 MB, free: 8.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.005981, allocations: 290.5 kB / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.006198, allocations: 107.5 kB / 435.6 MB, free: 8.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.006508, allocations: 350.9 kB / 436 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.006737, allocations: 118.1 kB / 436.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.006994, allocations: 199.4 kB / 436.3 MB, free: 7.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.007186, allocations: 155.5 kB / 436.4 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.007206, allocations: 16 kB / 436.5 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.007496, allocations: 263.1 kB / 436.7 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.007583, allocations: 107.7 kB / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.007649, allocations: 75.83 kB / 436.9 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.007967, allocations: 355 kB / 437.2 MB, free: 6.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00797, allocations: 3.938 kB / 437.2 MB, free: 6.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007971, allocations: 0 / 437.2 MB, free: 6.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.007975, allocations: 0 / 437.2 MB, free: 6.566 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.0004796/0.008454, allocations: 457 kB / 437.7 MB, free: 6.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.00849, allocations: 11.98 kB / 437.7 MB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.008531, allocations: 54.73 kB / 437.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.008967, allocations: 92.69 kB / 437.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.00921, allocations: 209.9 kB / 438 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.009227, allocations: 20.31 kB / 438.1 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.009257, allocations: 20.38 kB / 438.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.009809, allocations: 315.1 kB / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.009821, allocations: 0 / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.009839, allocations: 8 kB / 438.4 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.009863, allocations: 23.92 kB / 438.4 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.01015, allocations: 275.8 kB / 438.7 MB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.01116, allocations: 1.216 MB / 439.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.0114, allocations: 153.2 kB / 440.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.01145, allocations: 45.77 kB / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.01147, allocations: 11.98 kB / 440.1 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.01149, allocations: 30.56 kB / 440.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.01149, allocations: 4 kB / 440.1 MB, free: 3.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004243/0.01192, allocations: 284.8 kB / 440.4 MB, free: 3.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.01196, allocations: 85.09 kB / 440.5 MB, free: 3.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.01208, allocations: 198.2 kB / 440.7 MB, free: 2.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.01209, allocations: 29.83 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.01216, allocations: 172 kB / 440.9 MB, free: 2.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.01219, allocations: 51.56 kB / 441 MB, free: 2.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.01224, allocations: 41.72 kB / 441 MB, free: 2.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.01232, allocations: 330.8 kB / 441.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.01237, allocations: 47.97 kB / 441.4 MB, free: 2.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.01246, allocations: 136.9 kB / 441.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.01262, allocations: 221.2 kB / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01263, allocations: 0 / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002133/0.01284, allocations: 233.1 kB / 441.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01285, allocations: 11.94 kB / 442 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01286, allocations: 4 kB / 442 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01287, allocations: 7.984 kB / 442 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.01297, allocations: 44.36 kB / 442 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.01298, allocations: 8 kB / 442 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.01303, allocations: 12.06 kB / 442 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01305, allocations: 12 kB / 442 MB, free: 1.391 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 8.651e-05/0.01314, allocations: 153.8 kB / 442.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.01316, allocations: 23.78 kB / 442.2 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.01333, allocations: 158.3 kB / 442.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01334, allocations: 7.984 kB / 442.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01334, allocations: 0 / 442.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01334, allocations: 0 / 442.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.01391, allocations: 0.6368 MB / 443 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01391, allocations: 0 / 443 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.01397, allocations: 31.92 kB / 443 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01397, allocations: 4 kB / 443 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01398, allocations: 4 kB / 443 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01399, allocations: 12.36 kB / 443.1 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01399, allocations: 8 kB / 443.1 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1755/0.1895, allocations: 327.2 kB / 443.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.1895, allocations: 19.55 kB / 443.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1895, allocations: 8.031 kB / 443.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1897, allocations: 12.28 kB / 443.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.1897, allocations: 19.73 kB / 443.4 MB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1897, allocations: 8.969 kB / 443.5 MB, free: 53.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.1898, allocations: 142.1 kB / 443.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1898, allocations: 2.641 kB / 443.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.1901, allocations: 43.19 kB / 443.6 MB, free: 53.86 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.0003164/0.1904, allocations: 0.866 MB / 444.5 MB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1906, allocations: 137.2 kB / 444.6 MB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1906, allocations: 3.453 kB / 444.6 MB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.1906, allocations: 66.48 kB / 444.7 MB, free: 53.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.191, allocations: 33.8 kB / 444.7 MB, free: 53.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1925, allocations: 2.382 MB / 447.1 MB, free: 51.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.734e-05/0.1925, allocations: 152 kB / 447.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.1926, allocations: 39.61 kB / 447.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.1927, allocations: 60.19 kB / 447.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1927, allocations: 0 / 447.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.2085, allocations: 4.196 MB / 451.6 MB, free: 50.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.966, allocations: 3.062 kB / 451.6 MB, free: 50.23 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: 8.898504378274083] Failed to read output from testmodel.py, exit status != 0: 7.046607279218733 7.05308431 7.043727579 Calling exit ...