Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.0008693/0.0008693, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008753/0.0008753, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8924/0.8924, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2262/0.2262, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.511e-05, allocations: 3.828 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005729/0.005754, allocations: 7.091 MB / 437.3 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.009408, allocations: 3.867 MB / 441.2 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.009798, allocations: 15.94 kB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.01114, allocations: 1.018 MB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.01315, allocations: 1.127 MB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.01377, allocations: 318.8 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2049/0.2187, allocations: 1.392 MB / 445 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.2197, allocations: 396.5 kB / 445.4 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.2209, allocations: 0.7256 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.2218, allocations: 0.6023 MB / 446.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.2218, allocations: 36.09 kB / 446.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.2231, allocations: 0.8012 MB / 447.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.2233, allocations: 305 kB / 447.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.2235, allocations: 185 kB / 448.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2247, allocations: 0.8387 MB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2247, allocations: 3.969 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2247, allocations: 4.844 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.2247, allocations: 0 / 448.9 MB, free: 43.03 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009202/0.2257, allocations: 0.7361 MB / 449.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2257, allocations: 17.33 kB / 449.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.518e-05/0.2258, allocations: 81.3 kB / 449.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.2266, allocations: 124.9 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.2271, allocations: 286.9 kB / 450.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.2271, allocations: 30.06 kB / 450.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.2271, allocations: 38.27 kB / 450.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.2278, allocations: 0.5837 MB / 450.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2278, allocations: 1.875 kB / 450.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2278, allocations: 21.39 kB / 450.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.2279, allocations: 42.14 kB / 450.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.2283, allocations: 383.5 kB / 451.2 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.2298, allocations: 2.463 MB / 453.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2302, allocations: 417.5 kB / 454.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2304, allocations: 193.3 kB / 454.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2304, allocations: 3.188 kB / 454.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2304, allocations: 40.88 kB / 454.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.2304, allocations: 0 / 454.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001084/0.2315, allocations: 0.6762 MB / 455 MB, free: 40.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.2316, allocations: 109.4 kB / 455.1 MB, free: 39.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.2318, allocations: 327.6 kB / 455.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2318, allocations: 36.83 kB / 455.5 MB, free: 39.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.334e-05/0.2319, allocations: 250 kB / 455.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.232, allocations: 120.3 kB / 455.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.232, allocations: 83.69 kB / 455.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.2321, allocations: 345.3 kB / 456.3 MB, free: 39.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2322, allocations: 130 kB / 456.4 MB, free: 39.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.2324, allocations: 281.4 kB / 456.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.2328, allocations: 459.1 kB / 457.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2328, allocations: 3.938 kB / 457.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005094/0.2333, allocations: 0.5608 MB / 457.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2333, allocations: 6.469 kB / 457.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2333, allocations: 3.344 kB / 457.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.2336, allocations: 125.2 kB / 457.8 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2337, allocations: 71.34 kB / 457.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.2353, allocations: 2.386 MB / 460.3 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.2354, allocations: 43.81 kB / 460.3 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2354, allocations: 20.41 kB / 460.3 MB, free: 36.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2356, allocations: 203.8 kB / 460.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.2357, allocations: 43.12 kB / 460.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.2357, allocations: 50 kB / 460.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2357, allocations: 3.156 kB / 460.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.2358, allocations: 3.188 kB / 460.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2358, allocations: 0 / 460.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.2366, allocations: 0.8777 MB / 461.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2366, allocations: 6.281 kB / 461.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.2367, allocations: 35.61 kB / 461.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.2368, allocations: 110.5 kB / 461.7 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2369, allocations: 10 kB / 461.7 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2382, allocations: 2.362 MB / 464 MB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2382, allocations: 0 / 464 MB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.2386, allocations: 0.6335 MB / 464.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2386, allocations: 42.77 kB / 464.7 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2386, allocations: 10.34 kB / 464.7 MB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.2387, allocations: 4 kB / 464.7 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.2388, allocations: 27.45 kB / 464.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2388, allocations: 9.094 kB / 464.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2389, allocations: 225.7 kB / 465 MB, free: 33.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2389, allocations: 0 / 465 MB, free: 33.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004541/0.2394, allocations: 159.9 kB / 465.1 MB, free: 33.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005909/0.24, allocations: 1.155 MB / 466.3 MB, free: 32.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.2405, allocations: 0.5139 MB / 466.8 MB, free: 32.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2405, allocations: 0 / 466.8 MB, free: 32.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2408, allocations: 328.2 kB / 467.1 MB, free: 32.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2411, allocations: 67.03 kB / 467.2 MB, free: 32.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.244, allocations: 3.984 MB / 471.2 MB, free: 29.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2442, allocations: 283.7 kB / 471.4 MB, free: 29.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.2443, allocations: 70.09 kB / 471.5 MB, free: 29.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.2444, allocations: 117.8 kB / 471.6 MB, free: 29.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/0.2444, allocations: 3.281 kB / 471.6 MB, free: 29.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.2691, allocations: 8.492 MB / 480.1 MB, free: 28.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.387, allocations: 6.562 kB / 480.1 MB, free: 28.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d_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_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.37565922550857] Failed to read output from testmodel.py, exit status != 0: 7.4724601954221725 7.481983648 7.25461386 Calling exit ...