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.0008038/0.0008038, allocations: 79.69 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.00084/0.00084, allocations: 170 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.8832/0.8832, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2039/0.2039, allocations: 29.41 MB / 290.1 MB, free: 2.465 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.362e-06/1.362e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2e-05, allocations: 4.109 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005113/0.005133, allocations: 7.091 MB / 437.3 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.008295, allocations: 3.871 MB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.008555, allocations: 19.88 kB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.009743, allocations: 1.022 MB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.01136, allocations: 1.131 MB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.01186, allocations: 310.8 kB / 443.7 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1687/0.1805, allocations: 1.391 MB / 445 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.181, allocations: 398.1 kB / 445.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.1817, allocations: 0.7298 MB / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.1821, allocations: 0.6004 MB / 446.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1822, allocations: 34.41 kB / 446.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008622/0.183, allocations: 0.796 MB / 447.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1832, allocations: 311.9 kB / 447.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1833, allocations: 174.9 kB / 448.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.1839, allocations: 0.8426 MB / 448.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1839, allocations: 0 / 448.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1839, allocations: 1.5 kB / 448.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1839, allocations: 0 / 448.9 MB, free: 43.04 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.0005872/0.1845, allocations: 0.7435 MB / 449.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1845, allocations: 12.98 kB / 449.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.1846, allocations: 85.44 kB / 449.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.1853, allocations: 132.1 kB / 449.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1857, allocations: 277.4 kB / 450.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1857, allocations: 32.39 kB / 450.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1857, allocations: 41.25 kB / 450.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.1862, allocations: 0.5835 MB / 450.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1863, allocations: 7.156 kB / 450.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1863, allocations: 16.67 kB / 450.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.1863, allocations: 37.73 kB / 450.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1867, allocations: 390.9 kB / 451.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1879, allocations: 2.456 MB / 453.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.1883, allocations: 408.9 kB / 454.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1884, allocations: 192 kB / 454.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1884, allocations: 6.203 kB / 454.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.1884, allocations: 41.03 kB / 454.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.1884, allocations: 0 / 454.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009493/0.1894, allocations: 0.6811 MB / 455 MB, free: 40.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1894, allocations: 110 kB / 455.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1896, allocations: 328.8 kB / 455.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1896, allocations: 35.55 kB / 455.5 MB, free: 39.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.1897, allocations: 252.8 kB / 455.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.1898, allocations: 126.7 kB / 455.9 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.1898, allocations: 80.58 kB / 455.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.1899, allocations: 345.8 kB / 456.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.19, allocations: 128.7 kB / 456.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1901, allocations: 279.7 kB / 456.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1904, allocations: 461.1 kB / 457.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1904, allocations: 0 / 457.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004397/0.1908, allocations: 0.5554 MB / 457.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1909, allocations: 10.38 kB / 457.7 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1909, allocations: 6.594 kB / 457.7 MB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.1911, allocations: 116.9 kB / 457.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1912, allocations: 83.3 kB / 457.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1924, allocations: 2.377 MB / 460.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.1925, allocations: 44.59 kB / 460.3 MB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1925, allocations: 15.47 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.0001103/0.1926, allocations: 204.7 kB / 460.5 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1927, allocations: 42.08 kB / 460.6 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.1927, allocations: 44.98 kB / 460.6 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1927, allocations: 6.031 kB / 460.6 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1927, allocations: 3.062 kB / 460.6 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1927, allocations: 6.422 kB / 460.6 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.1933, allocations: 0.8777 MB / 461.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1933, allocations: 0 / 461.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.1934, allocations: 39.98 kB / 461.5 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.1935, allocations: 107.9 kB / 461.6 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1935, allocations: 10.58 kB / 461.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.1946, allocations: 2.368 MB / 464 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1946, allocations: 3.188 kB / 464 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.195, allocations: 0.6283 MB / 464.7 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.195, allocations: 47.5 kB / 464.7 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.195, allocations: 7.062 kB / 464.7 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.1951, allocations: 7.188 kB / 464.7 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1951, allocations: 34.77 kB / 464.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1951, allocations: 13.25 kB / 464.8 MB, free: 33.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.1952, allocations: 220 kB / 465 MB, free: 33.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1952, allocations: 0 / 465 MB, free: 33.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.1956, allocations: 164.1 kB / 465.1 MB, free: 33.62 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.0004307/0.196, allocations: 1.153 MB / 466.3 MB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.1965, allocations: 0.5151 MB / 466.8 MB, free: 32.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1965, allocations: 0 / 466.8 MB, free: 32.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1967, allocations: 318.7 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.0003258/0.197, allocations: 61.5 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.002254/0.1992, allocations: 3.989 MB / 471.2 MB, free: 29.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.1994, allocations: 280.2 kB / 471.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.793e-05/0.1995, allocations: 71.44 kB / 471.5 MB, free: 29.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.1996, allocations: 116.6 kB / 471.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1996, allocations: 0 / 471.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.2184, allocations: 8.494 MB / 480.1 MB, free: 28.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/7.018, allocations: 10.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 8.797529551200569] Failed to read output from testmodel.py, exit status != 0: 7.101680912077427 7.11050609 6.924877584 Calling exit ...