Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.0008784/0.0008784, 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.0008488/0.0008488, allocations: 170 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.8702/0.8702, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2082/0.2082, allocations: 29.41 MB / 290.1 MB, free: 2.445 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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.54e-05, allocations: 2.844 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004918/0.004943, allocations: 3.432 MB / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.006641, allocations: 1.426 MB / 435.1 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.006753, allocations: 15.88 kB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.007299, allocations: 254 kB / 435.3 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.007687, allocations: 282.6 kB / 435.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.007904, allocations: 127.5 kB / 435.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.008186, allocations: 354.9 kB / 436.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.00841, allocations: 118.1 kB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.008649, allocations: 203.4 kB / 436.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.008828, allocations: 147.5 kB / 436.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.008848, allocations: 12 kB / 436.5 MB, free: 7.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.00914, allocations: 295 kB / 436.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.009232, allocations: 103.8 kB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.009315, allocations: 83.77 kB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.009702, allocations: 374.9 kB / 437.4 MB, free: 6.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.009709, allocations: 3.938 kB / 437.4 MB, free: 6.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.009711, allocations: 0 / 437.4 MB, free: 6.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.009716, allocations: 0 / 437.4 MB, free: 6.414 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.0005419/0.01026, allocations: 456.9 kB / 437.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.01029, allocations: 11.98 kB / 437.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.01034, allocations: 58.72 kB / 437.9 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.01082, allocations: 96.69 kB / 438 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.01106, allocations: 208.4 kB / 438.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.01108, allocations: 20.3 kB / 438.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.01111, allocations: 20.36 kB / 438.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.01146, allocations: 314.7 kB / 438.5 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01147, allocations: 192 / 438.5 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.01149, allocations: 12.11 kB / 438.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.01152, allocations: 23.92 kB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.01181, allocations: 291.8 kB / 438.9 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01288, allocations: 1.174 MB / 440 MB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.01317, allocations: 229 kB / 440.3 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.01326, allocations: 89.73 kB / 440.3 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.01328, allocations: 4 kB / 440.4 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.0133, allocations: 30.56 kB / 440.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.0133, allocations: 4 kB / 440.4 MB, free: 3.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005798/0.01388, allocations: 448.3 kB / 440.8 MB, free: 2.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.01392, allocations: 85.05 kB / 440.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.01405, allocations: 202.2 kB / 441.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01406, allocations: 33.64 kB / 441.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.01413, allocations: 164.1 kB / 441.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01416, allocations: 59.48 kB / 441.4 MB, free: 2.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.01422, allocations: 45.7 kB / 441.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.0143, allocations: 330.8 kB / 441.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.01438, allocations: 87.94 kB / 441.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.0145, allocations: 161.6 kB / 442 MB, free: 1.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01472, allocations: 259.4 kB / 442.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01472, allocations: 8 kB / 442.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002735/0.01499, allocations: 297.2 kB / 442.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01501, allocations: 8 kB / 442.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01501, allocations: 0 / 442.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01502, allocations: 4 kB / 442.5 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01516, allocations: 51.91 kB / 442.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01517, allocations: 11.92 kB / 442.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.01524, allocations: 20.22 kB / 442.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01526, allocations: 15.94 kB / 442.6 MB, free: 0.8438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.00011/0.01537, allocations: 157.8 kB / 442.8 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.01539, allocations: 15.91 kB / 442.8 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.01564, allocations: 226.5 kB / 443 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.01565, allocations: 4 kB / 443 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01565, allocations: 7.922 kB / 443 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01566, allocations: 0 / 443 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1663/0.182, allocations: 0.9012 MB / 443.9 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.182, allocations: 3.156 kB / 443.9 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1821, allocations: 40.41 kB / 444 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1821, allocations: 3.062 kB / 444 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1822, allocations: 9.75 kB / 444 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1822, allocations: 5.969 kB / 444 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1822, allocations: 7.938 kB / 444 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1824, allocations: 409.5 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1825, allocations: 22.8 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1825, allocations: 12.75 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.1826, allocations: 8.875 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.1826, allocations: 28.23 kB / 444.5 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1826, allocations: 12.45 kB / 444.5 MB, free: 53.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.034e-05/0.1827, allocations: 147.8 kB / 444.6 MB, free: 53.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1827, allocations: 0 / 444.6 MB, free: 53.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.1829, allocations: 52.81 kB / 444.7 MB, free: 53.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.000318/0.1833, allocations: 0.9475 MB / 445.6 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1835, allocations: 206.4 kB / 445.8 MB, free: 52.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1835, allocations: 3.188 kB / 445.8 MB, free: 52.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.1836, allocations: 97.47 kB / 445.9 MB, free: 52.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1839, allocations: 40.81 kB / 446 MB, free: 52.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1854, allocations: 2.66 MB / 448.6 MB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.1855, allocations: 155.6 kB / 448.8 MB, free: 50.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.695e-05/0.1856, allocations: 54.94 kB / 448.8 MB, free: 50.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.1857, allocations: 61.39 kB / 448.9 MB, free: 50.69 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1857, allocations: 0 / 448.9 MB, free: 50.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2008, allocations: 4.887 MB / 453.8 MB, free: 49.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.094, allocations: 2.812 kB / 453.8 MB, free: 49.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest_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_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.994484465569258] Failed to read output from testmodel.py, exit status != 0: 7.178056602366269 7.183957778 7.172725972 Calling exit ...