Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.0008812/0.0008812, allocations: 79.69 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.0008028/0.0008028, 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.8659/0.8659, allocations: 177.1 MB / 204.3 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.2174/0.2174, allocations: 29.4 MB / 290.1 MB, free: 2.457 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.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.025e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005567/0.005587, allocations: 7.119 MB / 437.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.009119, allocations: 2.227 MB / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.009527, allocations: 35.69 kB / 439.6 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.0108, allocations: 0.8345 MB / 440.4 MB, free: 3.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.01175, allocations: 0.532 MB / 441 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.01273, allocations: 470.7 kB / 441.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.01424, allocations: 1.305 MB / 442.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.0149, allocations: 0.5058 MB / 443.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1667/0.1816, allocations: 0.747 MB / 444 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.1825, allocations: 0.6182 MB / 444.6 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.1825, allocations: 74.12 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.1829, allocations: 239.3 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.1832, allocations: 0.5053 MB / 445.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1834, allocations: 375.3 kB / 445.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.1842, allocations: 1.261 MB / 447 MB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1842, allocations: 0 / 447 MB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1842, allocations: 1.859 kB / 447 MB, free: 43.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1842, allocations: 3.156 kB / 447 MB, free: 43.83 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001218/0.1854, allocations: 1.253 MB / 448.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1854, allocations: 14.89 kB / 448.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.082e-05/0.1855, allocations: 139.4 kB / 448.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.1861, allocations: 206.1 kB / 448.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.1868, allocations: 0.651 MB / 449.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.1868, allocations: 67.22 kB / 449.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.1869, allocations: 81.25 kB / 449.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1879, allocations: 1.214 MB / 450.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.1879, allocations: 2.438 kB / 450.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.188, allocations: 38.09 kB / 450.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.188, allocations: 57.91 kB / 450.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.1889, allocations: 0.95 MB / 451.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.1917, allocations: 4.455 MB / 456.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.1923, allocations: 0.6494 MB / 456.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1926, allocations: 376 kB / 457.2 MB, free: 39.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.1927, allocations: 10.81 kB / 457.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.193, allocations: 468.6 kB / 457.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.193, allocations: 0 / 457.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002618/0.1956, allocations: 2.393 MB / 460 MB, free: 38.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1957, allocations: 164.8 kB / 460.2 MB, free: 37.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.196, allocations: 0.6173 MB / 460.8 MB, free: 37.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1961, allocations: 40.55 kB / 460.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1962, allocations: 495 kB / 461.3 MB, free: 37.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.1963, allocations: 229.8 kB / 461.6 MB, free: 37.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1964, allocations: 155.9 kB / 461.7 MB, free: 37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.1965, allocations: 383 kB / 462.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.1967, allocations: 316.5 kB / 462.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.197, allocations: 0.5784 MB / 463 MB, free: 36.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.1977, allocations: 0.9581 MB / 463.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1977, allocations: 6.25 kB / 463.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001051/0.1987, allocations: 1.248 MB / 465.2 MB, free: 34.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1987, allocations: 42.02 kB / 465.2 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1987, allocations: 10.03 kB / 465.2 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.1993, allocations: 328.2 kB / 465.6 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1995, allocations: 147.3 kB / 465.7 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.2023, allocations: 5.026 MB / 470.7 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2025, allocations: 30.64 kB / 470.8 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.2025, allocations: 44.3 kB / 470.8 MB, free: 31.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.2027, allocations: 359.2 kB / 471.1 MB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2028, allocations: 80.77 kB / 471.2 MB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009496/0.2037, allocations: 1.063 MB / 472.3 MB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2038, allocations: 13.22 kB / 472.3 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2038, allocations: 3.25 kB / 472.3 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2038, allocations: 10.77 kB / 472.3 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.2054, allocations: 1.98 MB / 474.3 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2054, allocations: 2.719 kB / 474.3 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2055, allocations: 75.88 kB / 474.4 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.2059, allocations: 310.9 kB / 474.7 MB, free: 29.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.206, allocations: 20.45 kB / 474.7 MB, free: 29.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.2092, allocations: 4.951 MB / 479.6 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2092, allocations: 6.047 kB / 479.7 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2103, allocations: 1.15 MB / 480.8 MB, free: 25.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2105, allocations: 71.55 kB / 480.9 MB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.2105, allocations: 19.36 kB / 480.9 MB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2107, allocations: 26.23 kB / 480.9 MB, free: 25.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2108, allocations: 59.56 kB / 481 MB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.2109, allocations: 24.06 kB / 481 MB, free: 25.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003078/0.2112, allocations: 421.3 kB / 481.4 MB, free: 25.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 0 / 481.4 MB, free: 25.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006654/0.2119, allocations: 265.4 kB / 481.7 MB, free: 25.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.2131, allocations: 1.696 MB / 483.4 MB, free: 24.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2145, allocations: 1.182 MB / 484.5 MB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2145, allocations: 1.031 kB / 484.5 MB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.2151, allocations: 0.7611 MB / 485.3 MB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.2158, allocations: 188.8 kB / 485.5 MB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.2234, allocations: 7.43 MB / 492.9 MB, free: 18.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2238, allocations: 0.5031 MB / 493.4 MB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.2242, allocations: 175.5 kB / 493.6 MB, free: 18.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.2244, allocations: 326.6 kB / 493.9 MB, free: 18.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.2244, allocations: 0 / 493.9 MB, free: 18.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.2662, allocations: 19.9 MB / 0.5018 GB, free: 12.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.806, allocations: 10.81 kB / 0.5018 GB, free: 12.81 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.720431396737695] Failed to read output from testmodel.py, exit status != 0: 7.895234157331288 7.90504939 7.71838167 Calling exit ...