Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.0008003/0.0008003, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001043/0.001043, 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.8876/0.8876, 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.2187/0.2187, allocations: 29.4 MB / 290.1 MB, free: 2.438 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,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.515e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006211/0.006236, allocations: 6.947 MB / 437.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.01019, allocations: 4.089 MB / 441.2 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.01066, allocations: 15.94 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.01255, allocations: 1.014 MB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.01522, allocations: 1.236 MB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1873/0.2025, allocations: 327 kB / 443.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.2042, allocations: 1.429 MB / 445.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.2048, allocations: 0.512 MB / 445.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.2057, allocations: 0.8118 MB / 446.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.2063, allocations: 0.6856 MB / 447.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.2064, allocations: 61.12 kB / 447.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.2079, allocations: 1.142 MB / 448.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.2081, allocations: 0.5114 MB / 449 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2084, allocations: 312.8 kB / 449.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2096, allocations: 1.536 MB / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2096, allocations: 2 kB / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2096, allocations: 0 / 450.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2097, allocations: 0.6562 kB / 450.8 MB, free: 42.93 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0009907/0.2106, allocations: 1.067 MB / 451.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2107, allocations: 13.98 kB / 451.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.2108, allocations: 126.6 kB / 452 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.2123, allocations: 391.5 kB / 452.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.2128, allocations: 434 kB / 452.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2128, allocations: 56.08 kB / 452.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.2129, allocations: 68.12 kB / 453 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2139, allocations: 1.179 MB / 454.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2139, allocations: 6.562 kB / 454.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.214, allocations: 26.5 kB / 454.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.214, allocations: 77.41 kB / 454.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2151, allocations: 1.234 MB / 455.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.218, allocations: 3.224 MB / 458.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.2189, allocations: 0.98 MB / 459.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.2194, allocations: 0.5882 MB / 460.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.2194, allocations: 18.28 kB / 460.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2195, allocations: 48.78 kB / 460.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.116e-06/0.2195, allocations: 0 / 460.3 MB, free: 39.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003535/0.223, allocations: 3.003 MB / 463.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.223, allocations: 87.64 kB / 463.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.2233, allocations: 373.5 kB / 463.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2233, allocations: 43.86 kB / 463.8 MB, free: 38.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.2234, allocations: 318.3 kB / 464.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2235, allocations: 325.8 kB / 464.5 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.2237, allocations: 157.9 kB / 464.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.2237, allocations: 366.5 kB / 465 MB, free: 37.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.2241, allocations: 465.8 kB / 465.4 MB, free: 37.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.2245, allocations: 0.5787 MB / 466 MB, free: 36.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.2254, allocations: 1.104 MB / 467.1 MB, free: 36.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2254, allocations: 3.188 kB / 467.1 MB, free: 36.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001348/0.2267, allocations: 1.478 MB / 468.6 MB, free: 35.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2268, allocations: 5.969 kB / 468.6 MB, free: 35.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2268, allocations: 2.969 kB / 468.6 MB, free: 35.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.2273, allocations: 329.4 kB / 468.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.2277, allocations: 184.6 kB / 469.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.2305, allocations: 3.914 MB / 473 MB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.2311, allocations: 53.53 kB / 473.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.2312, allocations: 39.45 kB / 473.1 MB, free: 33.26 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 (80): * Single equations (assignments): 79 * 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.0003383/0.2315, allocations: 288.9 kB / 473.4 MB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.2316, allocations: 58.7 kB / 473.4 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.2331, allocations: 1.556 MB / 475 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2331, allocations: 12.27 kB / 475 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2331, allocations: 6.031 kB / 475 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2331, allocations: 3.328 kB / 475 MB, free: 32.46 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.002996/0.2361, allocations: 2.785 MB / 477.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2361, allocations: 7.688 kB / 477.8 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.2364, allocations: 167.6 kB / 478 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.2369, allocations: 285 kB / 478.3 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.237, allocations: 26.36 kB / 478.3 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.2399, allocations: 3.693 MB / 482 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2399, allocations: 7.75 kB / 482 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.2416, allocations: 1.587 MB / 483.6 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.2417, allocations: 65.17 kB / 483.6 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.2418, allocations: 31.38 kB / 483.7 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.242, allocations: 39.95 kB / 483.7 MB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.2421, allocations: 88.89 kB / 483.8 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.2421, allocations: 34.83 kB / 483.8 MB, free: 28.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2423, allocations: 258.6 kB / 484.1 MB, free: 27.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2423, allocations: 0 / 484.1 MB, free: 27.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.243, allocations: 306 kB / 484.4 MB, free: 27.94 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.002038/0.245, allocations: 2.147 MB / 486.5 MB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.2468, allocations: 1.342 MB / 487.9 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2468, allocations: 3.562 kB / 487.9 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.2477, allocations: 0.789 MB / 488.7 MB, free: 25.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.2483, allocations: 110.4 kB / 488.8 MB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.2565, allocations: 7.537 MB / 496.3 MB, free: 22.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.257, allocations: 478.3 kB / 496.8 MB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.2574, allocations: 179.2 kB / 496.9 MB, free: 21.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.2576, allocations: 258.2 kB / 497.2 MB, free: 21.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2576, allocations: 1.281 kB / 497.2 MB, free: 21.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.2946, allocations: 17.96 MB / 0.5031 GB, free: 11.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.632, allocations: 19.11 kB / 0.5031 GB, free: 11.81 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_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.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.583376897498965] Failed to read output from testmodel.py, exit status != 0: 7.721320088021457 7.732675311 7.520975592 Calling exit ...