Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.0008543/0.0008543, 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.0008479/0.0008479, 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.8846/0.8846, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2366/0.2366, 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.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.564e-05, allocations: 8.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005373/0.005398, allocations: 3.426 MB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.007746, allocations: 1.453 MB / 435.1 MB, free: 8.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.00792, allocations: 7.938 kB / 435.1 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.008851, allocations: 258.8 kB / 435.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007196/0.009571, allocations: 286.5 kB / 435.6 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.009942, allocations: 123.5 kB / 435.7 MB, free: 8.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.0104, allocations: 354.9 kB / 436.1 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.01072, allocations: 118 kB / 436.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.01113, allocations: 215.3 kB / 436.4 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.0114, allocations: 143.6 kB / 436.6 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.01143, allocations: 16 kB / 436.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.01187, allocations: 287 kB / 436.9 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01199, allocations: 115.7 kB / 437 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.0121, allocations: 75.78 kB / 437 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.01262, allocations: 367 kB / 437.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01262, allocations: 0 / 437.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01263, allocations: 0 / 437.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.01263, allocations: 0 / 437.4 MB, free: 6.375 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.0006965/0.01333, allocations: 464.9 kB / 437.9 MB, free: 5.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.01337, allocations: 11.98 kB / 437.9 MB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.01343, allocations: 54.73 kB / 437.9 MB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.01432, allocations: 108.7 kB / 438 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.01468, allocations: 212.4 kB / 438.2 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.01469, allocations: 12.38 kB / 438.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.01474, allocations: 20.36 kB / 438.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.01526, allocations: 322.6 kB / 438.6 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.01528, allocations: 4.188 kB / 438.6 MB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.0153, allocations: 12.11 kB / 438.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.01534, allocations: 23.98 kB / 438.6 MB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.01584, allocations: 311.7 kB / 438.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01751, allocations: 1.174 MB / 440.1 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.01779, allocations: 149 kB / 440.2 MB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.01794, allocations: 93.73 kB / 440.3 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.01797, allocations: 7.984 kB / 440.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.018, allocations: 38.56 kB / 440.4 MB, free: 3.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.018, allocations: 0 / 440.4 MB, free: 3.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.001266/0.01927, allocations: 0.5938 MB / 441 MB, free: 2.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.01931, allocations: 77.11 kB / 441 MB, free: 2.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.01943, allocations: 190.3 kB / 441.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.01945, allocations: 29.7 kB / 441.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.01952, allocations: 156.2 kB / 441.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.01955, allocations: 63.47 kB / 441.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.01961, allocations: 49.69 kB / 441.5 MB, free: 1.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.01969, allocations: 334.8 kB / 441.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.01977, allocations: 76.08 kB / 441.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01989, allocations: 156.5 kB / 442.1 MB, free: 1.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.02011, allocations: 256.4 kB / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.02011, allocations: 0 / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000379/0.02049, allocations: 357.8 kB / 442.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.0205, allocations: 7.281 kB / 442.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02051, allocations: 8 kB / 442.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.02075, allocations: 92.78 kB / 442.8 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.02084, allocations: 40.14 kB / 442.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1595/0.1803, allocations: 2.037 MB / 444.9 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1804, allocations: 11.28 kB / 444.9 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1805, allocations: 13.75 kB / 444.9 MB, free: 52.93 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1806, allocations: 159.3 kB / 445 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1806, allocations: 21.83 kB / 445.1 MB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.1809, allocations: 317.3 kB / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1809, allocations: 6.141 kB / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1809, allocations: 6.188 kB / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.181, allocations: 0 / 445.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.1816, allocations: 0.6889 MB / 446.1 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1816, allocations: 0 / 446.1 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.1816, allocations: 30.03 kB / 446.1 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.1818, allocations: 81.08 kB / 446.2 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1818, allocations: 3.125 kB / 446.2 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/0.1827, allocations: 1.923 MB / 448.1 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1827, allocations: 3.594 kB / 448.1 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1829, allocations: 413.1 kB / 448.5 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.183, allocations: 25.67 kB / 448.5 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.183, allocations: 4 kB / 448.5 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.183, allocations: 6.672 kB / 448.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1831, allocations: 17.25 kB / 448.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1831, allocations: 6.438 kB / 448.6 MB, free: 50.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.1831, allocations: 136.7 kB / 448.7 MB, free: 50.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1831, allocations: 3.062 kB / 448.7 MB, free: 50.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.1834, allocations: 66.34 kB / 448.8 MB, free: 50.42 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003734/0.1838, allocations: 0.9361 MB / 449.7 MB, free: 49.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.1842, allocations: 366.8 kB / 450.1 MB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1842, allocations: 0 / 450.1 MB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1843, allocations: 251.9 kB / 450.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1846, allocations: 40.2 kB / 450.4 MB, free: 49.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1862, allocations: 2.631 MB / 453 MB, free: 47.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.1863, allocations: 151.9 kB / 453.1 MB, free: 47.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.486e-05/0.1863, allocations: 38.09 kB / 453.2 MB, free: 47.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.1864, allocations: 64.95 kB / 453.2 MB, free: 47.33 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1864, allocations: 3.219 kB / 453.2 MB, free: 47.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.2048, allocations: 5.925 MB / 459.2 MB, free: 46.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.159, allocations: 5.859 kB / 459.2 MB, free: 46.14 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest_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_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.115048034116626] Failed to read output from testmodel.py, exit status != 0: 8.248313389718533 8.255665829 8.241081681 Calling exit ...