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.0008511/0.0008511, 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.0008767/0.0008767, allocations: 174 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.8622/0.8622, 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.2169/0.2169, allocations: 29.41 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.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 2.675e-06/2.675e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.261e-05, allocations: 3.969 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005317/0.00534, allocations: 7.184 MB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.009552, allocations: 4.396 MB / 441.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.00985, allocations: 23.88 kB / 441.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.01103, allocations: 1.061 MB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1643/0.1753, allocations: 1.301 MB / 444.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.176, allocations: 372.7 kB / 444.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009858/0.177, allocations: 1.493 MB / 446 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.1775, allocations: 0.5166 MB / 446.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.1782, allocations: 0.84 MB / 447.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.1786, allocations: 0.7119 MB / 448.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.1787, allocations: 65.47 kB / 448.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1799, allocations: 1.227 MB / 449.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.1801, allocations: 0.5305 MB / 449.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1803, allocations: 328.3 kB / 450.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1814, allocations: 1.617 MB / 451.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1814, allocations: 0 / 451.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1814, allocations: 2.969 kB / 451.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1814, allocations: 0 / 451.9 MB, free: 42.77 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.0009363/0.1824, allocations: 1.101 MB / 453 MB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1824, allocations: 13.77 kB / 453 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.947e-05/0.1825, allocations: 132.4 kB / 453.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.184, allocations: 425.9 kB / 453.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.1845, allocations: 440.2 kB / 454 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.1845, allocations: 60.86 kB / 454 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.1846, allocations: 79.25 kB / 454.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.1855, allocations: 1.225 MB / 455.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1856, allocations: 3.594 kB / 455.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.1856, allocations: 32.67 kB / 455.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/0.1857, allocations: 82.8 kB / 455.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1867, allocations: 1.302 MB / 456.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1897, allocations: 3.399 MB / 460.1 MB, free: 39.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1907, allocations: 1.005 MB / 461.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.1912, allocations: 0.5791 MB / 461.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.1912, allocations: 14.94 kB / 461.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1912, allocations: 38.78 kB / 461.8 MB, free: 38.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.1912, allocations: 3.406 kB / 461.8 MB, free: 38.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.003596/0.1948, allocations: 3.07 MB / 464.8 MB, free: 37.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1949, allocations: 91.02 kB / 464.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1951, allocations: 384.2 kB / 465.3 MB, free: 37.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.1951, allocations: 40.98 kB / 465.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1952, allocations: 339.4 kB / 465.7 MB, free: 37.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.1953, allocations: 329 kB / 466 MB, free: 36.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1955, allocations: 158.2 kB / 466.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.1955, allocations: 371.4 kB / 466.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.1959, allocations: 467.9 kB / 467 MB, free: 36.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1963, allocations: 0.5706 MB / 467.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008864/0.1972, allocations: 1.121 MB / 468.7 MB, free: 35.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1972, allocations: 0 / 468.7 MB, free: 35.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001316/0.1985, allocations: 1.472 MB / 470.1 MB, free: 35.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1985, allocations: 7.844 kB / 470.1 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1986, allocations: 3.156 kB / 470.1 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.1991, allocations: 338.7 kB / 470.5 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.1994, allocations: 185.1 kB / 470.7 MB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.2022, allocations: 3.899 MB / 474.6 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2025, allocations: 47.8 kB / 474.6 MB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.2025, allocations: 38.47 kB / 474.6 MB, free: 32.59 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.0002492/0.2027, allocations: 299.9 kB / 474.9 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.2028, allocations: 62.09 kB / 475 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.2042, allocations: 1.54 MB / 476.5 MB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2042, allocations: 10.84 kB / 476.5 MB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2042, allocations: 8.688 kB / 476.6 MB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2042, allocations: 7.062 kB / 476.6 MB, free: 31.79 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.00287/0.2071, allocations: 2.755 MB / 479.3 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2071, allocations: 3.469 kB / 479.3 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.2074, allocations: 164.5 kB / 479.5 MB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.2078, allocations: 290.8 kB / 479.8 MB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.2079, allocations: 24.39 kB / 479.8 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.2105, allocations: 3.692 MB / 483.5 MB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2105, allocations: 4.125 kB / 483.5 MB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.2119, allocations: 1.568 MB / 485.1 MB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.212, allocations: 68.77 kB / 485.1 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.2121, allocations: 27.5 kB / 485.1 MB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2123, allocations: 39.38 kB / 485.2 MB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.2124, allocations: 87.08 kB / 485.3 MB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.2124, allocations: 38.66 kB / 485.3 MB, free: 27.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2126, allocations: 267.7 kB / 485.6 MB, free: 27.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 2.438 kB / 485.6 MB, free: 27.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000709/0.2133, allocations: 305.8 kB / 485.9 MB, free: 27.3 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.001572/0.2149, allocations: 2.128 MB / 488 MB, free: 26.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.2164, allocations: 1.333 MB / 489.3 MB, free: 25.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2164, allocations: 1.719 kB / 489.3 MB, free: 25.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.2172, allocations: 0.7872 MB / 490.1 MB, free: 25.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.2176, allocations: 103.9 kB / 490.2 MB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.2244, allocations: 7.647 MB / 497.9 MB, free: 21.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.2249, allocations: 488.9 kB / 498.3 MB, free: 21.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.2252, allocations: 190.5 kB / 498.5 MB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.2255, allocations: 270.4 kB / 498.8 MB, free: 21.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2255, allocations: 0 / 498.8 MB, free: 21.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.2547, allocations: 18.15 MB / 0.5048 GB, free: 9.918 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.35, allocations: 7.938 kB / 0.5048 GB, free: 9.91 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.154368431307375] Failed to read output from testmodel.py, exit status != 0: 7.4372850973159075 7.443857041 7.260778158 Calling exit ...