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.0008909/0.0008909, allocations: 91.61 kB / 20.77 MB, free: 3.754 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.001071/0.001071, allocations: 166 kB / 24.06 MB, free: 476 kB / 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.9189/0.9189, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.2605/0.2605, allocations: 29.42 MB / 290.2 MB, free: 2.43 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.392e-06/1.392e-06, allocations: 0 / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.86e-05, allocations: 2.281 kB / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007848/0.007876, allocations: 7.119 MB / 437.5 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.01196, allocations: 2.239 MB / 439.8 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.01298, allocations: 35.69 kB / 439.8 MB, free: 4.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.01471, allocations: 0.8265 MB / 440.7 MB, free: 3.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.01627, allocations: 0.532 MB / 441.2 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.01745, allocations: 474.6 kB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.01918, allocations: 1.293 MB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.02012, allocations: 0.5175 MB / 443.5 MB, free: 420 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1884/0.2085, allocations: 0.7507 MB / 444.2 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.2094, allocations: 0.6147 MB / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.2095, allocations: 73.56 kB / 444.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.2099, allocations: 233.3 kB / 445.1 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.2102, allocations: 0.5126 MB / 445.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.2105, allocations: 372.4 kB / 446 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009988/0.2115, allocations: 1.265 MB / 447.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2115, allocations: 0 / 447.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2115, allocations: 0 / 447.3 MB, free: 44.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2115, allocations: 3 kB / 447.3 MB, free: 44.01 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.001498/0.213, allocations: 1.249 MB / 448.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2131, allocations: 13.55 kB / 448.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.2132, allocations: 141.3 kB / 448.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/0.2138, allocations: 207.5 kB / 448.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.2145, allocations: 0.6506 MB / 449.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.2146, allocations: 62.27 kB / 449.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.2147, allocations: 80.53 kB / 449.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2157, allocations: 1.212 MB / 450.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2157, allocations: 6.406 kB / 450.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.2157, allocations: 43.23 kB / 450.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.2158, allocations: 57.25 kB / 451 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.2167, allocations: 0.9559 MB / 451.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.2196, allocations: 4.445 MB / 456.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.2203, allocations: 0.6533 MB / 457 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2206, allocations: 371.1 kB / 457.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.2207, allocations: 7.031 kB / 457.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.221, allocations: 481.2 kB / 457.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.645e-06/0.221, allocations: 0 / 457.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002987/0.224, allocations: 2.381 MB / 460.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.2241, allocations: 173.6 kB / 460.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.2246, allocations: 0.6175 MB / 461 MB, free: 37.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2246, allocations: 36.77 kB / 461.1 MB, free: 37.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.2248, allocations: 492 kB / 461.6 MB, free: 37.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.225, allocations: 232.4 kB / 461.8 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2251, allocations: 153.1 kB / 461.9 MB, free: 37.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.261e-05/0.2252, allocations: 386.7 kB / 462.3 MB, free: 36.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.2254, allocations: 312.2 kB / 462.6 MB, free: 36.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.2258, allocations: 0.5829 MB / 463.2 MB, free: 36.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.2265, allocations: 0.9563 MB / 464.2 MB, free: 35.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.2265, allocations: 7.031 kB / 464.2 MB, free: 35.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001248/0.2278, allocations: 1.247 MB / 465.4 MB, free: 35.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2278, allocations: 35.36 kB / 465.4 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2278, allocations: 9.469 kB / 465.4 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.2285, allocations: 342.8 kB / 465.8 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2288, allocations: 139.5 kB / 465.9 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/0.2321, allocations: 5.03 MB / 470.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.2325, allocations: 38.27 kB / 471 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.2326, allocations: 37.03 kB / 471 MB, free: 31.43 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.0003819/0.233, allocations: 359.3 kB / 471.4 MB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.233, allocations: 82.44 kB / 471.5 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2341, allocations: 1.067 MB / 472.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2341, allocations: 11.16 kB / 472.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2341, allocations: 3.125 kB / 472.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2341, allocations: 6.453 kB / 472.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.2361, allocations: 1.986 MB / 474.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2361, allocations: 2.562 kB / 474.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2363, allocations: 75.11 kB / 474.6 MB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.2367, allocations: 316 kB / 474.9 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.2368, allocations: 14.22 kB / 474.9 MB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.2398, allocations: 4.956 MB / 479.9 MB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2398, allocations: 0 / 479.9 MB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2409, allocations: 1.151 MB / 481 MB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.241, allocations: 69.17 kB / 481.1 MB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.241, allocations: 19.36 kB / 481.1 MB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2412, allocations: 20.33 kB / 481.1 MB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2413, allocations: 53.19 kB / 481.2 MB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.2414, allocations: 25.27 kB / 481.2 MB, free: 25.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003326/0.2417, allocations: 420.8 kB / 481.6 MB, free: 25.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2417, allocations: 0 / 481.6 MB, free: 25.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000835/0.2425, allocations: 265.8 kB / 481.9 MB, free: 25.27 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.00121/0.2437, allocations: 1.713 MB / 483.6 MB, free: 24.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.2451, allocations: 1.175 MB / 484.8 MB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2451, allocations: 1 kB / 484.8 MB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.2457, allocations: 0.7674 MB / 485.5 MB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.2464, allocations: 183.9 kB / 485.7 MB, free: 23.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007637/0.254, allocations: 7.427 MB / 493.1 MB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.2545, allocations: 0.506 MB / 493.7 MB, free: 18.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.2549, allocations: 170.3 kB / 493.8 MB, free: 18.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.2552, allocations: 327.2 kB / 494.1 MB, free: 18.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2552, allocations: 0 / 494.1 MB, free: 18.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.2969, allocations: 19.9 MB / 0.502 GB, free: 12.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.598, allocations: 6.984 kB / 0.502 GB, free: 12.84 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.627943498082459] Failed to read output from testmodel.py, exit status != 0: 7.688730086199939 7.695843869 7.4824639809999995 Calling exit ...