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.001296/0.001296, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.001416/0.001416, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.184/0.184, allocations: 38.49 MB / 349.4 MB, free: 2.605 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.58 kB / 487.8 MB, free: 32.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 62.41 MB / 0.5374 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009284/0.1409, allocations: 7.514 MB / 0.5447 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.1484, allocations: 4.459 MB / 0.549 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.1492, allocations: 19.88 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.1525, allocations: 1.047 MB / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.1566, allocations: 1.207 MB / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1579, allocations: 323.1 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.1602, allocations: 1.406 MB / 0.5529 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008969/0.1611, allocations: 0.5206 MB / 0.5535 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.1624, allocations: 0.6342 MB / 0.5541 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.1635, allocations: 0.7515 MB / 0.5548 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.1636, allocations: 60 kB / 0.5549 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.1661, allocations: 1.368 MB / 0.5562 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.1666, allocations: 494.7 kB / 0.5567 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.1671, allocations: 441.9 kB / 0.5571 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.1695, allocations: 1.46 MB / 0.5585 GB, free: 3.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1696, allocations: 3.938 kB / 0.5585 GB, free: 3.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1696, allocations: 0 / 0.5585 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.1696, allocations: 0 / 0.5585 GB, free: 3.762 MB / 414.1 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.002048/0.1716, allocations: 1.149 MB / 0.5596 GB, free: 2.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1717, allocations: 12.03 kB / 0.5597 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.1e-05/0.1717, allocations: 22.19 kB / 0.5597 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1719, allocations: 131.2 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.1751, allocations: 387.9 kB / 0.5602 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.176, allocations: 494.8 kB / 0.5606 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.1761, allocations: 62.3 kB / 0.5607 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.1762, allocations: 76.34 kB / 0.5608 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.1782, allocations: 1.176 MB / 0.5619 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1782, allocations: 0 / 0.5619 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.1783, allocations: 31.98 kB / 0.562 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.1785, allocations: 69.95 kB / 0.562 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.1804, allocations: 1.245 MB / 0.5632 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.1861, allocations: 3.496 MB / 0.5667 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.1879, allocations: 0.9917 MB / 0.5676 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.1888, allocations: 0.5862 MB / 0.5682 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.1888, allocations: 20.98 kB / 0.5682 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1889, allocations: 51.61 kB / 0.5683 GB, free: 9.531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.755e-06/0.1889, allocations: 0 / 0.5683 GB, free: 9.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.006977/0.1958, allocations: 3.081 MB / 0.5713 GB, free: 6.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1959, allocations: 98.06 kB / 0.5714 GB, free: 6.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1964, allocations: 365.6 kB / 0.5717 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.1964, allocations: 45.69 kB / 0.5718 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1967, allocations: 316.9 kB / 0.5721 GB, free: 5.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.197, allocations: 333.1 kB / 0.5724 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.1973, allocations: 158.6 kB / 0.5725 GB, free: 5.086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1974, allocations: 362.8 kB / 0.5729 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.1982, allocations: 477.7 kB / 0.5733 GB, free: 4.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.199, allocations: 0.5657 MB / 0.5739 GB, free: 3.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2008, allocations: 1.105 MB / 0.575 GB, free: 2.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2008, allocations: 4 kB / 0.575 GB, free: 2.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002925/0.2037, allocations: 1.473 MB / 0.5764 GB, free: 1.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2037, allocations: 8 kB / 0.5764 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2037, allocations: 0 / 0.5764 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2047, allocations: 332.8 kB / 0.5767 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.2055, allocations: 183.7 kB / 0.5769 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.2119, allocations: 4.202 MB / 0.581 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.2126, allocations: 47.94 kB / 0.5811 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.2127, allocations: 35.98 kB / 0.5811 GB, free: 12.08 MB / 446.1 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.0004999/0.2132, allocations: 293.5 kB / 0.5814 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2133, allocations: 59.67 kB / 0.5814 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.2163, allocations: 1.551 MB / 0.5829 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.2163, allocations: 12 kB / 0.583 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2163, allocations: 7.984 kB / 0.583 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2163, allocations: 3.984 kB / 0.583 GB, free: 10.14 MB / 446.1 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.00537/0.2217, allocations: 3.019 MB / 0.5859 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.2217, allocations: 4 kB / 0.5859 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.2224, allocations: 168.2 kB / 0.5861 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/0.2233, allocations: 292.4 kB / 0.5864 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.2234, allocations: 27.98 kB / 0.5864 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.2289, allocations: 3.918 MB / 0.5902 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.2289, allocations: 7.938 kB / 0.5902 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.2317, allocations: 1.583 MB / 0.5918 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.232, allocations: 140.7 kB / 0.5919 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.2321, allocations: 31.92 kB / 0.5919 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.2326, allocations: 39.97 kB / 0.592 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.2328, allocations: 80.77 kB / 0.592 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.2328, allocations: 39.98 kB / 0.5921 GB, free: 448 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003424/0.2332, allocations: 259.2 kB / 0.5923 GB, free: 192 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2332, allocations: 0 / 0.5923 GB, free: 192 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.2343, allocations: 304.1 kB / 0.5926 GB, free: 15.89 MB / 462.1 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.003154/0.2375, allocations: 2.157 MB / 0.5947 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.2401, allocations: 1.338 MB / 0.596 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.2401, allocations: 0 / 0.596 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.2416, allocations: 0.793 MB / 0.5968 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.2426, allocations: 109.8 kB / 0.5969 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.2551, allocations: 7.541 MB / 0.6043 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/0.2561, allocations: 1.072 MB / 0.6053 GB, free: 2.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005422/0.2566, allocations: 180.6 kB / 0.6055 GB, free: 2.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.2571, allocations: 255.3 kB / 0.6057 GB, free: 2.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/0.2571, allocations: 0 / 0.6057 GB, free: 2.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/0.6074, allocations: 16.9 MB / 0.6222 GB, free: 63.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.94, allocations: 10.19 kB / 0.6222 GB, free: 63.48 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.024863567959983] Failed to read output from testmodel.py, exit status != 0: 12.087831681012176 12.107804474 11.934277565 Calling exit ...