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.0008791/0.0008791, allocations: 91.61 kB / 20.77 MB, free: 3.75 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.0009441/0.0009441, allocations: 162 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.92/0.92, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.2238/0.2238, allocations: 29.41 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.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 2.475e-06/2.475e-06, allocations: 0 / 430.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.108e-05, allocations: 2.281 kB / 430.4 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005931/0.005962, allocations: 6.949 MB / 437.4 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.01007, allocations: 4.081 MB / 441.5 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.01067, allocations: 19.94 kB / 441.5 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.01232, allocations: 1.019 MB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.01467, allocations: 1.236 MB / 443.7 MB, free: 132 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1862/0.2009, allocations: 324.2 kB / 444.1 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.2026, allocations: 1.429 MB / 445.5 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.2036, allocations: 0.5063 MB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2046, allocations: 0.8199 MB / 446.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.2053, allocations: 0.681 MB / 447.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.236e-05/0.2054, allocations: 64.53 kB / 447.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2072, allocations: 1.137 MB / 448.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.2077, allocations: 0.5168 MB / 449.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.208, allocations: 311.6 kB / 449.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.2099, allocations: 1.538 MB / 451 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2099, allocations: 0 / 451 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2099, allocations: 0 / 451 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.2099, allocations: 0 / 451 MB, free: 43.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001186/0.2111, allocations: 1.055 MB / 452.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.2111, allocations: 13.92 kB / 452.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.466e-05/0.2112, allocations: 131.9 kB / 452.2 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.2128, allocations: 398 kB / 452.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.2133, allocations: 441 kB / 453.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2133, allocations: 53.09 kB / 453.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-05/0.2134, allocations: 69.08 kB / 453.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2146, allocations: 1.174 MB / 454.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2146, allocations: 3.406 kB / 454.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.2147, allocations: 32.39 kB / 454.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.2147, allocations: 72.59 kB / 454.5 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.2158, allocations: 1.24 MB / 455.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.2188, allocations: 3.233 MB / 458.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.2197, allocations: 0.9723 MB / 459.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.2202, allocations: 0.6 MB / 460.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.2202, allocations: 10.09 kB / 460.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2202, allocations: 52.55 kB / 460.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.936e-06/0.2203, allocations: 0 / 460.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.003567/0.2238, allocations: 3.002 MB / 463.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2239, allocations: 90.83 kB / 463.7 MB, free: 38.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2241, allocations: 368.5 kB / 464 MB, free: 38.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2241, allocations: 41.08 kB / 464.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2242, allocations: 315.5 kB / 464.4 MB, free: 37.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2244, allocations: 339.1 kB / 464.7 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2245, allocations: 151.9 kB / 464.8 MB, free: 37.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.2246, allocations: 371.3 kB / 465.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.2249, allocations: 470.4 kB / 465.7 MB, free: 37.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.2254, allocations: 0.5694 MB / 466.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/0.2262, allocations: 1.115 MB / 467.4 MB, free: 36.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2262, allocations: 0 / 467.4 MB, free: 36.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00136/0.2276, allocations: 1.463 MB / 468.8 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2276, allocations: 6.031 kB / 468.8 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2276, allocations: 6.453 kB / 468.8 MB, free: 35.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.2281, allocations: 332.4 kB / 469.2 MB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.2285, allocations: 184 kB / 469.3 MB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.2317, allocations: 3.915 MB / 473.2 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.2322, allocations: 53.69 kB / 473.3 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.2323, allocations: 46.3 kB / 473.3 MB, free: 33.29 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.0004748/0.2328, allocations: 288.5 kB / 473.6 MB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.2328, allocations: 58.14 kB / 473.7 MB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2344, allocations: 1.556 MB / 475.2 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2344, allocations: 13.03 kB / 475.3 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2344, allocations: 6.062 kB / 475.3 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2344, allocations: 6.75 kB / 475.3 MB, free: 32.48 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.003177/0.2376, allocations: 2.779 MB / 478 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.2376, allocations: 3.156 kB / 478 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.238, allocations: 166.2 kB / 478.2 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/0.2384, allocations: 285.7 kB / 478.5 MB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.2385, allocations: 25.42 kB / 478.5 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.2416, allocations: 3.698 MB / 482.2 MB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.2416, allocations: 4.094 kB / 482.2 MB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2433, allocations: 1.588 MB / 483.8 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2434, allocations: 69.44 kB / 483.9 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.2435, allocations: 25.33 kB / 483.9 MB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.2437, allocations: 38.62 kB / 483.9 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2438, allocations: 86.5 kB / 484 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.2439, allocations: 38.06 kB / 484.1 MB, free: 28.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.2441, allocations: 259.1 kB / 484.3 MB, free: 28.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2441, allocations: 1.281 kB / 484.3 MB, free: 28.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008243/0.2449, allocations: 309.4 kB / 484.6 MB, free: 27.97 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.001688/0.2466, allocations: 2.145 MB / 486.8 MB, free: 26.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2482, allocations: 1.345 MB / 488.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2482, allocations: 1.125 kB / 488.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007635/0.249, allocations: 0.7925 MB / 488.9 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.2495, allocations: 105.7 kB / 489 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.2603, allocations: 7.543 MB / 496.5 MB, free: 22.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.261, allocations: 477.2 kB / 497 MB, free: 21.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.2616, allocations: 181.6 kB / 497.2 MB, free: 21.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.262, allocations: 266.6 kB / 497.4 MB, free: 21.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.262, allocations: 0 / 497.4 MB, free: 21.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.3028, allocations: 17.98 MB / 0.5033 GB, free: 11.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.653, allocations: 14.84 kB / 0.5034 GB, free: 11.68 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.659422896802425] Failed to read output from testmodel.py, exit status != 0: 7.743150913156569 7.750336163 7.53854398 Calling exit ...