Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.000728/0.000728, 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.0007524/0.0007524, allocations: 174.3 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.8889/0.8889, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2527/0.2527, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.682e-05, allocations: 6.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005372/0.005389, allocations: 7.18 MB / 437.4 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.008814, allocations: 4.404 MB / 441.8 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.009005, allocations: 19.94 kB / 441.8 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01017, allocations: 1.069 MB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2077/0.2179, allocations: 1.298 MB / 444.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.2187, allocations: 373.2 kB / 444.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.2198, allocations: 1.491 MB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.2203, allocations: 0.5164 MB / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.221, allocations: 0.8475 MB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.2215, allocations: 0.7048 MB / 448.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2216, allocations: 65.06 kB / 448.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2228, allocations: 1.23 MB / 449.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.223, allocations: 0.5298 MB / 449.9 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2233, allocations: 323.5 kB / 450.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2244, allocations: 1.62 MB / 451.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2244, allocations: 0 / 451.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2244, allocations: 0 / 451.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2244, allocations: 0 / 451.9 MB, free: 42.27 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.0009462/0.2253, allocations: 1.11 MB / 453 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2254, allocations: 13.73 kB / 453 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.2255, allocations: 132.3 kB / 453.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.227, allocations: 415.5 kB / 453.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.2274, allocations: 445.8 kB / 454 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2275, allocations: 60.83 kB / 454 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.2276, allocations: 70.86 kB / 454.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.2286, allocations: 1.226 MB / 455.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2286, allocations: 3.312 kB / 455.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.2286, allocations: 38.91 kB / 455.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.2287, allocations: 83.78 kB / 455.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2298, allocations: 1.304 MB / 456.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.2326, allocations: 3.388 MB / 460.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.2335, allocations: 1.009 MB / 461.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.234, allocations: 0.5822 MB / 461.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.234, allocations: 13.78 kB / 461.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.234, allocations: 50 kB / 461.8 MB, free: 38.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.024e-06/0.234, allocations: 0 / 461.8 MB, free: 38.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003502/0.2375, allocations: 3.065 MB / 464.8 MB, free: 37.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2376, allocations: 86.67 kB / 464.9 MB, free: 37.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2378, allocations: 390.2 kB / 465.3 MB, free: 37.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2378, allocations: 41.02 kB / 465.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.2379, allocations: 330.6 kB / 465.7 MB, free: 37.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.238, allocations: 329.9 kB / 466 MB, free: 36.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2381, allocations: 163.9 kB / 466.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.2382, allocations: 365.6 kB / 466.5 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.2386, allocations: 466.3 kB / 467 MB, free: 36.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.239, allocations: 0.5777 MB / 467.5 MB, free: 35.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.2399, allocations: 1.113 MB / 468.7 MB, free: 35.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2399, allocations: 4 kB / 468.7 MB, free: 35.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001328/0.2412, allocations: 1.479 MB / 470.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2412, allocations: 6 kB / 470.1 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2412, allocations: 5.25 kB / 470.2 MB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.2418, allocations: 334.6 kB / 470.5 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.2421, allocations: 183.1 kB / 470.7 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.2448, allocations: 3.896 MB / 474.6 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.245, allocations: 49.64 kB / 474.6 MB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.2451, allocations: 41.02 kB / 474.6 MB, free: 32.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.2453, allocations: 303.1 kB / 474.9 MB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.2454, allocations: 61.53 kB / 475 MB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.2468, allocations: 1.536 MB / 476.5 MB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.2468, allocations: 11.84 kB / 476.5 MB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2468, allocations: 12.06 kB / 476.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.2468, allocations: 7.328 kB / 476.6 MB, free: 31.62 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.2499, allocations: 2.757 MB / 479.3 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.2499, allocations: 3.438 kB / 479.3 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.2503, allocations: 162 kB / 479.5 MB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.2508, allocations: 286.8 kB / 479.8 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.2508, allocations: 31.55 kB / 479.8 MB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.2537, allocations: 3.685 MB / 483.5 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2537, allocations: 7.641 kB / 483.5 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.2552, allocations: 1.57 MB / 485.1 MB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.2552, allocations: 64.56 kB / 485.1 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.2553, allocations: 23.5 kB / 485.1 MB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.2555, allocations: 44.08 kB / 485.2 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.2556, allocations: 86.2 kB / 485.3 MB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.2556, allocations: 38.12 kB / 485.3 MB, free: 27.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.2558, allocations: 264.8 kB / 485.6 MB, free: 27.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2558, allocations: 3.281 kB / 485.6 MB, free: 27.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007166/0.2565, allocations: 309.5 kB / 485.9 MB, free: 27.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/0.2582, allocations: 2.132 MB / 488 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.2596, allocations: 1.328 MB / 489.3 MB, free: 25.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2596, allocations: 1.125 kB / 489.3 MB, free: 25.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.2603, allocations: 0.7914 MB / 490.1 MB, free: 25.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.2608, allocations: 106.8 kB / 490.2 MB, free: 24.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007582/0.2684, allocations: 7.644 MB / 497.9 MB, free: 21.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.2688, allocations: 484.6 kB / 498.3 MB, free: 21.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.2691, allocations: 186.1 kB / 498.5 MB, free: 21.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.2694, allocations: 272 kB / 498.8 MB, free: 20.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2694, allocations: 0 / 498.8 MB, free: 20.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.2966, allocations: 18.15 MB / 0.5048 GB, free: 9.816 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.753, allocations: 0 / 0.5048 GB, free: 9.816 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened_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_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.737353958189487] Failed to read output from testmodel.py, exit status != 0: 7.841430680826306 7.848922142 7.622800119 Calling exit ...