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.001582/0.001582, allocations: 122.2 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.001876/0.001876, allocations: 215.1 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.27 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.1874/0.1874, allocations: 38.51 MB / 349.4 MB, free: 2.625 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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.002016/0.002016, allocations: 60.56 kB / 487.8 MB, free: 32.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 62.43 MB / 0.5374 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01039/0.1161, allocations: 7.783 MB / 0.545 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007354/0.1235, allocations: 4.806 MB / 0.5497 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007187/0.1242, allocations: 23.94 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.1274, allocations: 1.105 MB / 0.5508 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.1309, allocations: 1.261 MB / 0.552 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1322, allocations: 374.9 kB / 0.5523 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1344, allocations: 1.465 MB / 0.5538 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009568/0.1354, allocations: 0.5251 MB / 0.5543 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1367, allocations: 0.6575 MB / 0.5549 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.1379, allocations: 0.7748 MB / 0.5557 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.138, allocations: 68 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.1408, allocations: 1.465 MB / 0.5572 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.1414, allocations: 0.5026 MB / 0.5577 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.1421, allocations: 449.9 kB / 0.5581 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.1447, allocations: 1.55 MB / 0.5596 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1447, allocations: 7.984 kB / 0.5596 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1447, allocations: 4 kB / 0.5596 GB, free: 2.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.1448, allocations: 0 / 0.5596 GB, free: 2.648 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002055/0.1468, allocations: 1.188 MB / 0.5608 GB, free: 1.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1469, allocations: 12.03 kB / 0.5608 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.276e-05/0.1469, allocations: 22.19 kB / 0.5608 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.1471, allocations: 135.4 kB / 0.5609 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.1505, allocations: 423.8 kB / 0.5614 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.1514, allocations: 499.5 kB / 0.5618 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.1515, allocations: 58.36 kB / 0.5619 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1516, allocations: 80.3 kB / 0.562 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.1537, allocations: 1.234 MB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.1537, allocations: 0 / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.1538, allocations: 31.98 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.1539, allocations: 81.94 kB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.156, allocations: 1.312 MB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005949/0.1619, allocations: 3.685 MB / 0.5682 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.1638, allocations: 1.022 MB / 0.5692 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.1647, allocations: 0.5786 MB / 0.5697 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.1647, allocations: 12.98 kB / 0.5697 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1648, allocations: 43.56 kB / 0.5698 GB, free: 7.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.1648, allocations: 0 / 0.5698 GB, free: 7.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.007292/0.1721, allocations: 3.147 MB / 0.5728 GB, free: 4.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.1721, allocations: 90.11 kB / 0.5729 GB, free: 4.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.1726, allocations: 377.5 kB / 0.5733 GB, free: 4.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.154e-05/0.1727, allocations: 41.7 kB / 0.5733 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1729, allocations: 332.9 kB / 0.5736 GB, free: 3.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.1732, allocations: 345.1 kB / 0.574 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.1735, allocations: 158.6 kB / 0.5741 GB, free: 3.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1737, allocations: 370.7 kB / 0.5745 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/0.1744, allocations: 465.7 kB / 0.5749 GB, free: 2.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.1752, allocations: 0.5782 MB / 0.5755 GB, free: 2.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.1769, allocations: 1.114 MB / 0.5766 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1769, allocations: 0 / 0.5766 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002618/0.1795, allocations: 1.47 MB / 0.578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1795, allocations: 7.938 kB / 0.578 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1796, allocations: 8.219 kB / 0.578 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/0.1805, allocations: 332.6 kB / 0.5783 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.1813, allocations: 187.7 kB / 0.5785 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.1871, allocations: 4.17 MB / 0.5826 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.1877, allocations: 55.89 kB / 0.5826 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.1877, allocations: 31.98 kB / 0.5827 GB, free: 10.45 MB / 446.1 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.0004706/0.1882, allocations: 310.1 kB / 0.583 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1883, allocations: 59.62 kB / 0.583 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.1912, allocations: 1.544 MB / 0.5845 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.1912, allocations: 11.94 kB / 0.5846 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1912, allocations: 8 kB / 0.5846 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.1912, allocations: 7.969 kB / 0.5846 GB, free: 8.492 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.005273/0.1965, allocations: 3.007 MB / 0.5875 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.1965, allocations: 4 kB / 0.5875 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.1972, allocations: 159.8 kB / 0.5877 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008654/0.198, allocations: 292.9 kB / 0.5879 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.1981, allocations: 20 kB / 0.588 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.2036, allocations: 3.899 MB / 0.5918 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.2036, allocations: 7.938 kB / 0.5918 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.2062, allocations: 1.575 MB / 0.5933 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.2064, allocations: 144.7 kB / 0.5934 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.2065, allocations: 24 kB / 0.5935 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.2069, allocations: 47.89 kB / 0.5935 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.2071, allocations: 72.84 kB / 0.5936 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.2071, allocations: 39.98 kB / 0.5936 GB, free: 14.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.2075, allocations: 263.1 kB / 0.5939 GB, free: 14.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2075, allocations: 4 kB / 0.5939 GB, free: 14.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009675/0.2084, allocations: 315.9 kB / 0.5942 GB, free: 14.28 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.002893/0.2113, allocations: 2.126 MB / 0.5963 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.2137, allocations: 1.331 MB / 0.5976 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2137, allocations: 0 / 0.5976 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.215, allocations: 0.7967 MB / 0.5983 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.2157, allocations: 106.5 kB / 0.5984 GB, free: 9.824 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.2273, allocations: 7.628 MB / 0.6059 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/0.2282, allocations: 1.087 MB / 0.6069 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004565/0.2287, allocations: 184.7 kB / 0.6071 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.2291, allocations: 271.3 kB / 0.6074 GB, free: 396 kB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2291, allocations: 0 / 0.6074 GB, free: 396 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/0.5009, allocations: 17.09 MB / 0.6241 GB, free: 62.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.73, allocations: 17.48 kB / 0.6241 GB, free: 62 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.748349811998196] Failed to read output from testmodel.py, exit status != 0: 11.870615973020904 11.880509939 11.733526308 Calling exit ...