Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.0008407/0.0008407, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001066/0.001066, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8974/0.8974, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2368/0.2368, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.513e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005763/0.005788, allocations: 3.863 MB / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.008524, allocations: 1.733 MB / 435.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.008756, allocations: 7.938 kB / 435.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.009595, allocations: 354.5 kB / 436.1 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009694/0.01056, allocations: 414 kB / 436.6 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.01095, allocations: 151.4 kB / 436.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.01155, allocations: 0.4946 MB / 437.2 MB, free: 6.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.01191, allocations: 167.4 kB / 437.4 MB, free: 6.414 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.01237, allocations: 291.1 kB / 437.6 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.01268, allocations: 227.3 kB / 437.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.01271, allocations: 20 kB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.01325, allocations: 390.7 kB / 438.3 MB, free: 5.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.0134, allocations: 167.5 kB / 438.4 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.0135, allocations: 111.8 kB / 438.5 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.01412, allocations: 0.5103 MB / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01412, allocations: 0 / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01412, allocations: 0 / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.01413, allocations: 0 / 439 MB, free: 4.719 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007351/0.01487, allocations: 0.5284 MB / 439.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.01491, allocations: 15.98 kB / 439.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.01497, allocations: 58.73 kB / 439.6 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.0157, allocations: 140.5 kB / 439.8 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.01603, allocations: 246.1 kB / 440 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.01605, allocations: 17.03 kB / 440 MB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.01608, allocations: 20.38 kB / 440.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.01655, allocations: 440.6 kB / 440.5 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01657, allocations: 4.188 kB / 440.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.01659, allocations: 12.12 kB / 440.5 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.01662, allocations: 28.64 kB / 440.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.01703, allocations: 430.2 kB / 441 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01841, allocations: 1.481 MB / 442.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.01866, allocations: 193 kB / 442.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.01878, allocations: 121.7 kB / 442.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.0188, allocations: 12 kB / 442.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01883, allocations: 34.56 kB / 442.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.01883, allocations: 0 / 442.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001108/0.01994, allocations: 0.7153 MB / 443.5 MB, free: 36 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.155/0.1749, allocations: 78.39 kB / 443.6 MB, free: 54.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1751, allocations: 209 kB / 443.8 MB, free: 54.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.1751, allocations: 28.89 kB / 443.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.1752, allocations: 189.5 kB / 444 MB, free: 54.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.1753, allocations: 84.67 kB / 444.1 MB, free: 54.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.1753, allocations: 57.48 kB / 444.1 MB, free: 54.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.1754, allocations: 332.4 kB / 444.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1755, allocations: 105.6 kB / 444.6 MB, free: 54.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1756, allocations: 203.7 kB / 444.8 MB, free: 53.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1758, allocations: 349.8 kB / 445.1 MB, free: 53.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1758, allocations: 0 / 445.1 MB, free: 53.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004795/0.1763, allocations: 438 kB / 445.5 MB, free: 53.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1763, allocations: 6.5 kB / 445.5 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1764, allocations: 3.344 kB / 445.5 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.1766, allocations: 86.41 kB / 445.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1768, allocations: 56 kB / 445.7 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1779, allocations: 1.876 MB / 447.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.178, allocations: 18.52 kB / 447.6 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.178, allocations: 16.7 kB / 447.6 MB, free: 52.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1782, allocations: 176.9 kB / 447.8 MB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1782, allocations: 21.61 kB / 447.8 MB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1786, allocations: 376.9 kB / 448.2 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1786, allocations: 4.5 kB / 448.2 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1786, allocations: 6.281 kB / 448.2 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1786, allocations: 11.11 kB / 448.2 MB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.1793, allocations: 0.807 MB / 449 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1793, allocations: 2.875 kB / 449 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.1794, allocations: 35.69 kB / 449 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.1795, allocations: 78.8 kB / 449.1 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1795, allocations: 4 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008349/0.1804, allocations: 1.79 MB / 450.9 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1804, allocations: 3.188 kB / 450.9 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1807, allocations: 466 kB / 451.4 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.1807, allocations: 21.77 kB / 451.4 MB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1807, allocations: 7.188 kB / 451.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1808, allocations: 13.44 kB / 451.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1808, allocations: 17.91 kB / 451.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1809, allocations: 10.44 kB / 451.4 MB, free: 49.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.1809, allocations: 150.5 kB / 451.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1809, allocations: 0 / 451.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.1812, allocations: 87.62 kB / 451.7 MB, free: 49.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004222/0.1816, allocations: 0.9908 MB / 452.6 MB, free: 48.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1821, allocations: 410.4 kB / 453 MB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1821, allocations: 4.016 kB / 453 MB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.1823, allocations: 282.5 kB / 453.3 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1825, allocations: 44.52 kB / 453.4 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1844, allocations: 2.998 MB / 456.4 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1845, allocations: 195.7 kB / 456.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.1846, allocations: 51.08 kB / 456.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.1847, allocations: 87.41 kB / 456.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1847, allocations: 0 / 456.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2079, allocations: 6.542 MB / 463.2 MB, free: 44.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.352, allocations: 3.344 kB / 463.2 MB, free: 44.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.31806186772883] Failed to read output from testmodel.py, exit status != 0: 7.436158255673945 7.444114906 7.428193975 Calling exit ...